Help Scripting

Hi everyone, I have randylogs, but I have a problem in the file server.lua who can solve it?


What is line 9? And have you initialized ESX?

This are the lines, the problem is also in the line 51, i think the problem is in the xPlayer
Yes i have the new version of ESX

First of all, have u load the ESX script in the server.cfg BEFORE this script? If yes, try to replace the line 4 with this code:

Citizen.CreateThread(function()
	while ESX == nil do
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
		Citizen.Wait(0)
	end
end)

I made the change you wrote to me, but I still have nothing but this error, if you like I will send you the script and try to fix it thanks
esx_randylogs-main (1).zip (3.0 KB)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.