warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
deleteproperty
warning
This function starts with a lowercase letter.
Description
Delete an earlier set property (setproperty).
Name | Description |
---|---|
id | The virtual machine to use. You should keep this as zero. (optional=0) |
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. (optional=cellmin) |
Returns
The value of the property. If the property does not exist, the function returns 0.
Examples
deleteproperty(0, "", 123984334);
Notes
tip
It is recommended to use the PVars/SVars or GVar plugin instead of these natives for being very slow.
Related Functions
- setproperty: Set a property.
- getproperty: Get the value of a property.
- existproperty: Check if a property exists.