#1
Related content
Messages
0
Reactions
0
Credits
4,069
Joined
N/A
Messages
3
Reactions
0
Credits
1
Joined
May 2023
#321
iconator,
wrote:
Converted to QBcore and ready to roll (kek)
Download:
-=Stripped Content=-
Download:
-=Stripped Content=-
Looks L
Messages
37
Reactions
0
Credits
17
Joined
May 2023
#322
tks you
Messages
9
Reactions
0
Credits
363
Joined
May 2023
#323
Thank you for this. ?
Messages
22
Reactions
0
Credits
8
Joined
May 2022
#324
Thanks for this, not working
Messages
224
Reactions
0
Credits
31
Joined
Apr 2022
#325
tahnk you fror this !!! you are amasing!!
Messages
191
Reactions
0
Credits
466
Joined
May 2022
#326
Can you send a preview?
Messages
60
Reactions
0
Credits
12
Joined
Mar 2022
#327
Thanks for the script appreciate it
Messages
14
Reactions
0
Credits
11
Joined
Jun 2023
#328
how can i get this free
Messages
8
Reactions
0
Credits
7
Joined
Jun 2023
#329
tonybravelion,
wrote:
I like it. Working in pepe?
oo yesh sexyy lol babe
Messages
8
Reactions
0
Credits
7
Joined
Jun 2023
#330
Broky_GTV,
wrote:
work perfect
oo yeahh sexy boii ahhhh
Messages
8
Reactions
0
Credits
7
Joined
Jun 2023
#331
oo yeah sexy boyy ahhh
Messages
68
Reactions
0
Credits
19
Joined
Jun 2023
#332
I like it. Working in pepe?
Messages
21
Reactions
0
Credits
4
Joined
Jun 2023
#333
Preview bro ? pls thx
Messages
1
Reactions
0
Credits
8
Joined
Jun 2023
#334
tahnk you fror this !!! you are amasing!!
Messages
19
Reactions
0
Credits
9
Joined
Jun 2023
#335
[script:truck_logisti] SCRIPT ERROR: @truck_logistics/server.lua:254: attempt to compare nil with number
[script:truck_logisti] > ref (@truck_logistics/server.lua:254)
[script:truck_logisti] > (@oxmysql/dist/build.js:21810)
[script:truck_logisti] > processTicksAndRejections (node:internal/process/task_queues:96)
Line 254: if tonumber(query_users[1].fragile) >= tonumber(query[1].fragile) then
Code:
Happens whenever I try to start a job. RIP script[/source][/config][/config][/config][/config][/config][/config][/config][/tonumber][/source][/source][/script][/script][/script][/script]
[script:truck_logisti] > ref (@truck_logistics/server.lua:254)
[script:truck_logisti] > (@oxmysql/dist/build.js:21810)
[script:truck_logisti] > processTicksAndRejections (node:internal/process/task_queues:96)
Line 254: if tonumber(query_users[1].fragile) >= tonumber(query[1].fragile) then
Code:
RegisterServerEvent("truck_logistics:startContract")
AddEventHandler("truck_logistics:startContract",function(data)
local id = data.id
local distance = data.distance
local reward = data.reward
local source = source
if debug_cooldown[source] == nil then
debug_cooldown[source] = true
local xPlayer = QBCore.Functions.GetPlayer(source)
local user_id = xPlayer.PlayerData.citizenid
if user_id then
QBCore.Functions.Notify('' .. user_id, 'success', 5000)
local query = exports['ghmattimysql']:execute("SELECT * FROM `trucker_available_contracts` WHERE contract_id = @id",{['@id'] = id}, function(query)
if query and query[1] then
query_users = exports['ghmattimysql']:execute("SELECT * FROM `trucker_users` WHERE user_id = @user_id", {['@user_id'] = user_id}, function(query_users)
if query_users and query_users[1] then
if tonumber(query_users[1].product_type) >= tonumber(query[1].cargo_type) then
if tonumber(query_users[1].fragile) >= tonumber(query[1].fragile) then
if tonumber(query_users[1].valuable) >= tonumber(query[1].valuable) then
if tonumber(query_users[1].fast) >= tonumber(query[1].fast) then
if Config.habilidade_distancia[tonumber(query_users[1].distance)] >= tonumber(distance) then
if tonumber(query[1].contract_type) == 0 then
-- Inicia o trabalho
TriggerClientEvent("truck_logistics:startContract",source,query[1],distance,reward,{})
else
-- Checa se tem caminhão
query_truck = exports['ghmattimysql']:execute("SELECT * FROM `trucker_trucks` WHERE driver = 0 AND user_id = @user_id", {['@user_id'] = user_id}, function(query_truck)
if query_truck and query_truck[1] then
TriggerClientEvent("truck_logistics:startContract",source,query[1],distance,reward,query_truck[1])
else
TriggerClientEvent("QBCore:Notify",source, Lang[Config.lang]['own_truck'], "error")
end
end)
end
else
TriggerClientEvent("QBCore:Notify",source, Lang[Config.lang]['no_skill_1'], "error")
end
else
TriggerClientEvent("QBCore:Notify",source,Lang[Config.lang]['no_skill_2'], "error")
end
else
TriggerClientEvent("QBCore:Notify",source,Lang[Config.lang]['no_skill_3'], "error")
end
else
TriggerClientEvent("QBCore:Notify",source,Lang[Config.lang]['no_skill_4'], "error")
end
else
TriggerClientEvent("QBCore:Notify",source,Lang[Config.lang]['no_skill_5'], "error")
end
end
end)
else
TriggerClientEvent("QBCore:Notify",source,Lang[Config.lang]['job_already_started'], "error")
end
end)
end
debug_cooldown[source] = nil
end
end)
Happens whenever I try to start a job. RIP script[/source][/config][/config][/config][/config][/config][/config][/config][/tonumber][/source][/source][/script][/script][/script][/script]
Messages
23
Reactions
0
Credits
27
Joined
Jun 2023
#336
thank you somuch for this one
Messages
85
Reactions
0
Credits
35
Joined
Jun 2023
#337
Thank you so much for the script.
Messages
17
Reactions
0
Credits
10
Joined
Jun 2023
#338
iconator,
wrote:
Converted to QBcore and ready to roll (kek)
Download:
-=Stripped Content=-
Download:
-=Stripped Content=-
aD:KbAW:DkbAWD adkBAWD:KAWD;kh A:DH:AWDHADHAWD AWDAD AD AD ADA AWDAd
Messages
4
Reactions
0
Credits
15
Joined
Aug 2023
#339
iconator,
wrote:
Converted to QBcore and ready to roll (kek)
Download:
-=Stripped Content=-
Download:
-=Stripped Content=-
looks good s s s
Messages
4
Reactions
0
Credits
15
Joined
Aug 2023
#340
iconator,
wrote:
Converted to QBcore and ready to roll (kek)
Download:
-=Stripped Content=-
Download:
-=Stripped Content=-
4 credits is expensive
wwww
Categories
General Discussions
FiveM Leaks
RageMP
Miscellaneous
RUST