Deleteproperty
From SA-MP Wiki
Deleteproperty
Delete an earlier set property.
Parameters:(id=0, const name[]="", value=cellmin)
| id=0 | The virtual machine to use, you should keep this zero. |
| const name[]="" | The property's name, you should keep this "". |
| value=cellmin | The property's unique ID. Use the hash-function to calculate it from a string. |
| Returns | The value of the property and subsequently removes it. If the property does not exist, the function returns zero. |
deleteproperty(0, "", 123984334);
Related Functions
The following functions might be useful as well, as they're 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.
