AllowAdminTeleport
From SA-MP Wiki
AllowAdminTeleport
This fucntion will allow or disallow RCON admins to teleport with the use of the waypoint on the map.
(allow)
| allow | 0 o disable (default) and 1 to enable. |
public OnGameModeInit( ) { AllowAdminTeleport(1); // Other stuff }
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- IsPlayerAdmin: Checks if a player is logged into RCON.
- AllowPlayerTeleport: Toggle waypoint teleporting for players.
