I’ve seen quite abit of posts about this script when moving it from ghmattimysql to oxmysql.
Every time its this error. Someone must of figured it out? heeeeelp
[script:truck_logisti] SCRIPT ERROR: @truck_logistics/server.lua:242: attempt to compare nil with number
[script:truck_logisti] > ref (@truck_logistics/server.lua:242)
[script:truck_logisti] > <unknown> (@oxmysql/dist/build.js:22252)
[script:truck_logisti] > processTicksAndRejections (node:internal/process/task_queues:96)
This is the code it refers to. I’ve attached the server.lua
server.lua (35.8 KB)