IsPlayerRegistered
Whether the player’s name has a password on record.
Syntax
Section titled “Syntax”IsPlayerRegistered(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not IsPlayerRegistered(pid) then SendClientMessage(pid, COLOUR_SERVER, "Claim your name with /register <password>.") endSee also
Section titled “See also”IsPlayerLoggedIn · OnPlayerLogin · the Accounts, admins, bans and the audit group of the index
