10.09.2011, 19:42
The syntax is written in the "core.inc" include by ITB CompuPhase.
Example
If you haven't the source of your old GameMode, you can't get that variable... It must be public
pawn Code:
native getproperty(id, const name[], value=cellmin, string[], size=sizeof (string));
native setproperty(id, const name[], value=cellmin, const string[]);
native deleteproperty(id, const name[], value=cellmin);
native existproperty(id, const name[], value=cellmin);
pawn Code:
setproperty(0, "Candy", cellmin, "Hello");
new str[256];
getproperty(0, "Candy", cellmin, str);
printf("The value of Candy is %s", str);