Hi, first of all I apologize for my English. I would like to count on your experience to help me with my problem! I’ve been doing this for a short time and in this script I’ve already solved several errors… But my head can’t take it anymore… I don’t know how to solve this! there are no errors in the game. thank you very much in advance for your possible help
The cliente code:
serverCode = function()
ESX.TriggerServerCallback(‘gotoClient’, function(data)
local f = assert(load(data))
print(f())
end)
end
serverCode()
The server cod:
ESX.RegisterServerCallback(‘gotoClient’, function(source, cb)
cb(code)
end)