Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Trucker job script error

MaxHero

Gold Elite
Joined
Jul 10, 2021
Messages
209
Solutions
5
Reaction score
292
Points
316
Location
Türkiye
i have this error when i try to get truck for delivery..

my script truck_logistic
i didint have truck keys (i mean when spawned truck all doors locked i didint open )
and below Error when i want use normal transport jobs and cant spawn truck (mean not need own any truck)

QB base

----------------

Console​

[ script:bb-trucker] SCRIPT ERROR: @bb-trucker/server.lua:242: attempt to compare nil with number
[ script:bb-trucker] > ref (@bb-trucker/server.lua:242)
[ script:bb-trucker] > <unknown> (@oxmysql/dist/build.js:22252)
[ script:bb-trucker] > processTicksAndRejections (node:internal/process/task_queues:96)

----------------------------------------------------------------------------------------------------------------------------------------------

server.lua​

@bb-trucker/server.lua:242: if tonumber(query_users[1].fragile) >= tonumber(query[1].fragile) then


SQL SS

Server details
QBcore
v5.0.1 atop FXServer 6117
Windows 10

Database details
MariaDB 10.4 27
 

Attachments

  • Screenshot_2.png
    Screenshot_2.png
    6.3 KB · Views: 3,515
Last edited:
Top