Parow / esx_vehicleshop

NativeUI ESX Vehicle shop
GNU General Public License v3.0
2 stars 5 forks source link

Error loading script #4

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello there!

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

Do you know why this error appears?

Kind regards Kuezy