AllowAdminTeleport
Description:
Function AllowAdminTeleport determine whether RCON admins will be teleported to their waypoint when they set one.
This function, as of 0.3d, is deprecated. Please see OnPlayerClickMap. |
Parameters:
(allow)
bool | allow | 0 to disable and 1 to enable. |
Return Values:
This function does not return any specific values.
Examples:
public OnGameModeInit() { AllowAdminTeleport(1); // Other stuff return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- IsPlayerAdmin: Checks if a player is logged into RCON.
- AllowPlayerTeleport: Toggle waypoint teleporting for players.