Chuyển tới nội dung chính

IsPlayerCuffed

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 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
}