I'm currently facing issues with your vehicle shop script. Here is the error message:
[ c-scripting-core] Creating script environments for esx_vehicleshop
[script:esx_vehiclesh] Error loading script server/sv_vehshop.lua in resource esx_vehicleshop: attempt to yield from outside a coroutine
[script:esx_vehiclesh] stack traceback:
[script:esx_vehiclesh] [C]: in function 'Wait'
[script:esx_vehiclesh] @mysql-async/lib/MySQL.lua:57: in field 'fetchAll'
[script:esx_vehiclesh] @esx_vehicleshop/server/sv_vehshop.lua:45: in function 'getdata'
[script:esx_vehiclesh] @esx_vehicleshop/server/sv_vehshop.lua:97: in main chunk
[ c-scripting-core] Failed to load script server/sv_vehshop.lua.
[ citizen-server-impl] Started resource esx_vehicleshop
[ script:es_extended] es_extended: TriggerServerCallback => [parow:getCategories] does not exist
[ script:es_extended] es_extended: TriggerServerCallback => [parow:getVehicles] does not exist
Hello there!
I'm currently facing issues with your vehicle shop script. Here is the error message:
Do you know why this error appears?
Kind regards Kuezy