17.04.2015, 06:56
#define is a text replacement directive. For instance, if you have at the top of your script the following line:
instead of using:
you may use:
Same results.
Code:
#define StartMoney (5000)
Code:
public OnPlayerConnect(playerid) { GivePlayerMoney(playerid, 5000); }
Code:
public OnPlayerConnect(playerid) { GivePlayerMoney(playerid, StartMoney); }