planeklm / razed-cryptomining

An advanced crypto mining simulator for qbcore.
52 stars 19 forks source link

ox_target issue #8

Closed Pipo1978 closed 2 months ago

Pipo1978 commented 5 months ago

I'm facing an issue trying to use ox_target, below the error message:

[ 45687] [FiveM_b3095_GT] MainThrd/ ^1SCRIPT ERROR: @ox_target/client/api.lua:70: expected options to have type 'array' (received hash table)^7 [ 45687] [FiveM_b3095_GT] MainThrd/ ^3> typeError^7 (^5@ox_target/client/api.lua^7:70) [ 45687] [FiveM_b3095_GT] MainThrd/ ^3> addTarget^7 (^5@ox_target/client/api.lua^7:112) [ 45687] [FiveM_b3095_GT] MainThrd/ ^3> ref^7 (^5@ox_target/client/api.lua^7:223) [ 45687] [FiveM_b3095_GT] MainThrd/ ^3> fn^7 (^5@razed-cryptomining/client/client.lua^7:312) [ 45687] [FiveM_b3095_GT] MainThrd/ ^1SCRIPT ERROR: @razed-cryptomining/client/client.lua:312: [ 45687] [FiveM_b3095_GT] MainThrd/ ^5 An error occurred while calling export addModel in resource ox_target: [ 45687] [FiveM_b3095_GT] MainThrd/ [ 45687] [FiveM_b3095_GT] MainThrd/ ^5 ---^7

Can someone help on this? Thanks! ;)

planeklm commented 5 months ago

Make sure to update your ox_target to the latest release.