playerLoaded
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded',function(xPlayer, isNew, skin)
-- ESX.PlayerData = xPlayer
end)
This event is triggered when the player has connected to the server
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded',function(xPlayer, isNew, skin)
-- ESX.PlayerData = xPlayer
end)
This event is triggered when the player has connected to the server