Deleteproperty
From SA-MP Wiki
(Redirected from Function:deleteproperty)
deleteproperty
Note: This function name starts with a lowercase letter. |
Description:
Delete an earlier set property (setproperty).
(id=0, const name[]="", value=cellmin)
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. |
Return Values:
The value of the property. If the property does not exist, the function returns 0.
Example Usage:
deleteproperty(0, "", 123984334);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- Setproperty: Set a property.
- Getproperty: Get the value of a property.
- Existproperty: Check if a property exists.