IsAdminTeleportAllowed
peringatan
fungsi ini ditambahkan di omp v1.1.0.2612 dan tidak akan berfungsi di versi sebelumnya!
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.