FIVEM Los Santos Trucker Simulator / Trucker Logistics script (ETS, ATS)

72 replies31,943 views5y ago
Original post · 5y ago#1
[video=youtube][img]/public/images/logo.png[/img]


Download

This Scripts resource has been viewed 30090 times by our community. Browse more FiveM scripts, QBCore leaks, ESX resources, and RageMP content on HighLeaks. Download free FiveM resources including frameworks, maps, vehicles, scripts, MLOs, and more. Join our growing community of FiveM developers and server owners. Find quality leaks, custom scripts, and exclusive releases. All resources are regularly updated and tested by our staff. Support available through our ticket system. Thread #15964 in the Scripts category.

72 replies

5y ago#2
[video=youtube][img]/public/images/logo.png[/img]


Download
0
5y ago#3
How can setup this
0
5y ago#4
need the sql file
0
5y ago#5
niceee
0
5y ago#6
rage1, post: 6263, member: 4782
need the sql file

SQL is in the server side. It will automatically be executed.
0
5y ago#7
SCRIPT ERROR: @vex_trucker/server.lua:210: attempt to index a nil value (global 'ESX')
SCRIPT ERROR: @vex_trucker/server.lua:150: attempt to index a nil value (global 'ESX')

In both lines the problem is this

local users = ESX.GetPlayers()



Script loads E does not work in the blip
0
5y ago#8
ardaxtabar, post: 19551, member: 8755
SCRIPT ERROR: @vex_trucker/server.lua:210: attempt to index a nil value (global 'ESX')
SCRIPT ERROR: @vex_trucker/server.lua:150: attempt to index a nil value (global 'ESX')

In both lines the problem is this



Script loads E does not work in the blip

ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)
on top of the server side
0
5y ago#9
WolfzinOf, post: 4383
[video=youtube][img]/public/images/logo.png[/img]


[URL='https://cdn.discordapp.com/attachments/788480441253888004/821671081651339264/vex_trucker.rar']Download[/URL]

Nice
0
5y ago#10
Carmine, post: 5943, member: 4588
How can setup this

Download it xD
0
5y ago#11
Nice
0
5y ago#12
Nice
0
5y ago#13
Thx
0
4y ago#14
ardaxtabar, post: 19551, member: 8755
SCRIPT ERROR: @vex_trucker/server.lua:210: attempt to index a nil value (global 'ESX')
SCRIPT ERROR: @vex_trucker/server.lua:150: attempt to index a nil value (global 'ESX')

In both lines the problem is this



Script loads E does not work in the blip


look for RegisterServerEvent("truck_logistics:getData") part in the server.lua

replace the event with this:

(i took out the vrp_ready part. the menu now opens for me)


RegisterServerEvent("truck_logistics:getData")
AddEventHandler("truck_logistics:getData",function()

local source = source
local user_id = ESX.GetPlayerFromId(source).identifier
if user_id then
isOpen[source] = true
openUI(source,false)
end

end)
0
4y ago#15
mrjappie241, post: 26024, member: 7002
look for RegisterServerEvent("truck_logistics:getData") part in the server.lua

replace the event with this:

(i took out the vrp_ready part. the menu now opens for me)


RegisterServerEvent("truck_logistics:getData")
AddEventHandler("truck_logistics:getData",function()

local source = source
local user_id = ESX.GetPlayerFromId(source).identifier
if user_id then
isOpen[source] = true
openUI(source,false)
end

end)

THANK YOU SO MUCHHHHHHHHHH
0
4y ago#16
i have downloaded this mod, it is in another lang and i am unable to do any missions or spawn any trucks ? please help
0
4y ago#18
niceee
0
4y ago#19
any one care to share the english ui.html
0
4y ago#20
hmmmmmmm
0

Sign in to reply

Join the discussion — it takes less than a minute.