Deleteproperty

From SA-MP Wiki

Jump to: navigation, search

deleteproperty

Image:Farm-Fresh text lowercase.png Note: This function name starts with a lowercase letter.


Description:

Delete an earlier set property (setproperty).


Parameters:
(id=0, const name[]="", value=cellmin)
idThe virtual machine to use. You should keep this as zero.
name[]The property's name, you should keep this blank ("").
valueThe 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.

Personal tools
Navigation
Toolbox