IsAdminTeleportAllowed
cảnh báo
Đã thêm hàm trong phiên bản omp v1.1.0.2612. Mục này không hoạt động trên các phiên bản cũ hơn!
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.