04.09.2010, 10:20
This is simple macro function for economy on your server ![Smiley](images/smilies/smile.png)
I wanna give thanks to Don Correlli, he helps me out
![Smiley](images/smilies/smile.png)
pawn Код:
new VALUE = 5;
#define returnValue(%0) %0 * VALUE
stock SetNewValue(value) return VALUE = value;
//example
SetNewValue(8);
printf("%i", returnValue(6)); // back 48 (because 8 * 6 = 48)
![Smiley](images/smilies/smile.png)