[Include] Ascript.inc
#10

Quote:
Originally Posted by iZN
Посмотреть сообщение
A include for 3 things? Are you kidding me? You could just define them. Also there was a mistake IsPlayerAdmin(playerid), shouldn't be 'playerid' will be 'i', as you're looping.

pawn Код:
#define GivePlayerScore(%0,%1) SetPlayerScore(%0, GetPlayerScore(%0) + %1)
#define SendAdminMessage(%0,%1) for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerAdmin(i)) SendClientMessage(i, %0, %1)
#define SetPlayerMoney(%0,%1) ResetPlayerMoney(%0) GivePlayerMoney(%0,%1)
you forgot a ','

pawn Код:
#define     SetPlayerMoney(%0, %1)    ResetPlayerMoney(%0),     GivePlayerMoney(%0, %1)
Reply


Messages In This Thread
Ascript.inc - by Areax - 25.11.2013, 19:02
Re: Ascript.inc - by dannyk0ed - 25.11.2013, 19:24
Respuesta: Ascript.inc - by deryan - 25.11.2013, 19:27
Re: Ascript.inc - by iZN - 25.11.2013, 19:39
Re: Ascript.inc - by Areax - 25.11.2013, 19:44
Re: Ascript.inc - by iZN - 25.11.2013, 19:46
Re: Ascript.inc - by fiki574 - 25.11.2013, 20:02
Re: Ascript.inc - by iZN - 25.11.2013, 20:11
Re: Ascript.inc - by fiki574 - 25.11.2013, 20:15
Re: Ascript.inc - by CreativityLacker - 27.11.2013, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)