#CW-Traders OX-Target

1 messages · Page 1 of 1 (latest)

languid quarry
#

I have previously added CW-Traders (and CW-Trades) into my server. However due to using OX-Target I am unable to third-eye the peds. I have attached my Config file. I have not changed the Client/main.lua. I do not get any Server or Console Errors ( I can upload pictures if needed but I do not feel as if they are necessary.

Does anyone have the main.lua converted to Ox-Target?

boreal spoke
#

I'd assume the support for qb-target is removed from ox-target so it's probably not working anymore and cw-trades needs a full conversion now.

languid quarry
#

Yeah of course it has.

#

Should it just need the script changed to.

exports.ox_target:addEntity({
options = getOptions(ped),
then the rest of the standard ox-target stuff

#

or would going back to an older version like from August be easier

boreal spoke
#

You could always try that

#

I don't remember the exact conversion. The function getOptions might have to be tweaked if ox target differs from qb target

languid quarry
#

Going back to March doesn’t work.

Neither does the export changes seems like it would require an whole new rework.

#

Should only need certain parts of Config and Client.lua changed

boreal spoke
#

Yeah going back to march wont help 😅 sorry if you misunderstood. You'll have to do a conversion in the client.lua file

languid quarry
#

Yeah

ancient kiln
#

@boreal spoke Here's our old compat for QB-target in ox with our spawnped and such in it.

#

can always try adding it in to ox target and then include it in client_scripts in fxmanifest to see if it helps any. this is quite dated though and i cant promise it'll even function still. @languid quarry

languid quarry