---
title: "IsPlayerCuffed | open.mp"
description: "چک می‌کنه که آیا special action بازیکن cuffed هست یا نه."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/IsPlayerCuffed
language: fa
---

# IsPlayerCuffed

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

## توضیحات

چک می‌کنه که آیا special action بازیکن cuffed هست یا نه.

| نام | توضیحات |
| --- | --- |
| playerid | ID بازیکنی که باید چک بشه. |

## مقادیر برگشتی

true برمی‌گردونه اگه بازیکن cuffed باشه، وگرنه false.

## مثال‌ها

```c
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);

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