#Ox_target

1 messages · Page 1 of 1 (latest)

drowsy karma
#

Hey, anyone good at ox_target plz help me, im stuck

dull night
#

oxtarget dosent use addtargetmodel and addentityzone
or see if u missing the target option in cfg.

u need to replace the addtargetmodel with addGlobalPed..
exports.ox_target:removeGlobalPed(optionNames)

and also change AddEntityZone with addEntity
exports.ox_target:addEntity(netIds, options)

bold wind
#

There were couple of bridges out there to solve this issue just search and see

dull night
#

Ox compat, or something like that, can help for ppl without the knowledge to convert from qb to ox

gentle raven
# drowsy karma Hey, anyone good at ox_target plz help me, im stuck

How I fixed this (I wouldnt recommend this as support for qb related stuff from ox is no more)

  • Got the qb bridge file from an earlier release of ox_target (Mine was version '1.14.0')
  • Added it to the compat folder
  • Added these lines in fxmanifest

'client/compat/qb-target.lua',
provide 'qb-target'

Im not saying this will work for you and all your issues, but for the qb-target functions i cant yet be arsed to convert, this is how you can work around it.

Not the best way, but works for me.

dull night
drowsy karma
#

And its only when i try to use the shops that is build into the script

#

Soeh

dull night
drowsy karma
#

I am using a ped with a build in shop, and the shop doesenst work but everything els does

dull night
drowsy karma
#

Version of what script?

#

The drug scrip im using is boii-drugs

#

And thats where the errors comes from