Przejdź do głównej zawartości

IsPlayerCuffed

ostrzeżenie

Dodano w wersji omp v1.1.0.2612. Wcześniejsze wersje nie obsługują tego elementu. Typ: funkcja.

Description​

Checks if the player special action is cuffed.

NameDescription
playeridThe ID of the player to check.

Returns​

Returns true if the player is cuffed, otherwise false.

Examples​

SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);

if (IsPlayerCuffed(playerid))
{
// do something
}