#define startmoney 50000
#4

#define is a text replacement directive. For instance, if you have at the top of your script the following line:

Code:
#define StartMoney			(5000)
instead of using:

Code:
public OnPlayerConnect(playerid)
{
	GivePlayerMoney(playerid, 5000);
}
you may use:

Code:
public OnPlayerConnect(playerid)
{
	GivePlayerMoney(playerid, StartMoney);
}
Same results.
Reply


Messages In This Thread
#define startmoney 50000 - by NviDa - 17.04.2015, 05:53
Re: #define startmoney 50000 - by ATGOggy - 17.04.2015, 05:55
Re: #define startmoney 50000 - by JaydenJason - 17.04.2015, 06:50
Re: #define startmoney 50000 - by Denis1 - 17.04.2015, 06:56
Re: #define startmoney 50000 - by Darrenr - 17.04.2015, 08:13
Re: #define startmoney 50000 - by ATGOggy - 17.04.2015, 09:15
Re: #define startmoney 50000 - by R0 - 17.04.2015, 11:43
Re: #define startmoney 50000 - by MarikAshtar - 17.04.2015, 13:27
Re: #define startmoney 50000 - by ATGOggy - 17.04.2015, 14:00
Re: #define startmoney 50000 - by NviDa - 17.04.2015, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)