跳到主要內容

IsAdminTeleportAllowed

注意

此函式於 omp v1.1.0.2612 版本中新增,在更早的版本中無法使用!

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
}