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.
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
Download
SQL is in the server side. It will automatically be executed.
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
Nice
Download it xD
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