---
title: "ispacked | open.mp"
description: "Checks if the given string is packed."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/ispacked
language: th
---

# ispacked

## คำอธิบาย

Checks if the given string is packed.

| Name | Description |
| --- | --- |
| string | The string to check. |

## ส่งคืน

1 if the string is packed, 0 if it's unpacked.

## ตัวอย่าง

```c
// Create a packed string
new string[24 char];

if (ispacked(string))
{
   print("The string is packed.");
}
```

## ฟังก์ชั่นที่เกี่ยวข้องกัน
