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

WolfzinOf WolfzinOf Started 72 replies 28,797 views
#1
[video=youtube]




Download[/video]
#1
How can setup this
#2
need the sql file
#3
niceee
#4




rage1,

wrote:



need the sql file




SQL is in the server side. It will automatically be executed.
#5
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
#6




ardaxtabar,

wrote:



SCRIPT ERROR: @vex_trucker/server.lua:210: attempt to index a nil value (global 'ESX')

SCRIPT ERROR: @vex_trucker/server.lua:150: attempt to...




ESX = nil

TriggerEvent('esx:getSharedObject', function(obj) ESX=obj end)

on top of the server side
#7




WolfzinOf,

wrote:



[video=youtube]








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




Nice[/video]
#8




Carmine,

wrote:



How can setup this




Download it xD
#9
Nice
#10
Nice
#11
Thx
#12




ardaxtabar,

wrote:



SCRIPT ERROR: @vex_trucker/server.lua:210: attempt to index a nil value (global 'ESX')

SCRIPT ERROR: @vex_trucker/server.lua:150: attempt to...






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)[/source]
#13




mrjappie241,

wrote:



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



replace the event with this:



(i took out the vrp_ready part...




THANK YOU SO MUCHHHHHHHHHH[/source]
#14
i have downloaded this mod, it is in another lang and i am unable to do any missions or spawn any trucks ? please help
#15
good
#16
niceee
#17
any one care to share the english ui.html
#18
hmmmmmmm
#19




WolfzinOf,

wrote:



[video=youtube]








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




looks nice[/video]
#20
[attachment removed]



Apparently I have an error in my SQL. Maybe someone had a solution for it?[/attachment]