---
title: "deleteproperty | open.mp"
description: "Delete an earlier set property (setproperty)."
canonical: https://omp.itsneufox.com/th/docs/scripting/functions/deleteproperty
language: th
---

# deleteproperty

## คำอธิบาย

Delete an earlier set property (setproperty).

| Name | Description |
| --- | --- |
| id | The virtual machine to use. You should keep this as zero. |
| name\[\] | The property's name, you should keep this blank (""). |
| value | The property's unique ID. Use the hash-function to calculate it from a string. |

## ส่งคืน

The value of the property. If the property does not exist, the function returns 0.

## ตัวอย่าง

```c
deleteproperty(0, "", 123984334);
```

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

-   [setproperty](https://omp.itsneufox.com/th/docs/scripting/functions/setproperty): Set a property.
-   [getproperty](https://omp.itsneufox.com/th/docs/scripting/functions/getproperty): Get the value of a property.
-   [existproperty](https://omp.itsneufox.com/th/docs/scripting/functions/existproperty): Check if a property exists.
