Skip to main content

esx:playerLoaded

Server Side

This event is triggered when the player has loaded to the server

Arguments

ArgumentData TypeExplanation
playernumberserverId
xPlayertable
isNewboolean

Example Usage

RegisterNetEvent('esx:playerLoaded', function(player, xPlayer, isNew)
print(player, 'loaded', xPlayer.getName())
print('isNew:', isNew)
end)