IsPlayerAdmin

Description

Check if a player is logged in as an RCON admin.

NameDescription
playeridThe ID of the player to check.

Returns

1: Player is an RCON admin. 0: Player is NOT an RCON admin.

Examples

public OnPlayerSpawn(playerid)
{
if (IsPlayerAdmin(playerid))
{
SendClientMessageToAll(0xDEEE20FF, "An admin spawned.");
}
return 1;
}

Related Functions

Related Callbacks