ข้ามไปยังเนื้อหาหลัก

IsPlayerCuffed

คำเตือน

ฟังก์ชันนี้ถูกเพิ่มใน omp v1.1.0.2612 และจะไม่ทำงานในเวอร์ชันก่อนหน้า!

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
}