Learn how to aquire player information for your scripts.
RSGCore.Functions.GetPlayer()
function. This function will return an object containing various details about the player, including their character information and permissions.
Player.PlayerData.charinfo.firstname
: The player’s first name.Player.PlayerData.charinfo.lastname
: The player’s last name.Player.PlayerData.citizenid
: The player’s citizen ID.