AllowAdminTeleport
From SA-MP Wiki
 
 | This function, as of 0.3d, is deprecated. Please see OnPlayerClickMap. | 
Description:
This function will determine whether RCON admins will be teleported to their waypoint when they set one.
(allow)
| allow | 0 to disable and 1 to enable. | 
Return Values:
This function does not return any specific values.
Example Usage:
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.
 

