IsAdminTeleportAllowed
atenção
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Checks if the RCON admins allowed to teleport by right-clicking on the map.
Returns
true: Allowed.
false: Not allowed.
Examples
if (IsAdminTeleportAllowed())
{
// Do something
}
Related Functions
- AllowAdminTeleport: Determine whether RCON admins will be teleported to their waypoint when they set one.
- AllowPlayerTeleport: Toggle waypoint teleporting for players.
- IsPlayerAdmin: Checks if a player is logged into RCON.