23.02.2009, 15:14
Quote:
|
Originally Posted by X Cutter
An useful macro
pawn Код:
For example, the code given below Код:
CallLoop(i,MAX_PLAYERS)
{
if(IsPlayerConnected(i))
{
SendClientMessage(i,somecolor,"Payday! You won $-9999 >:D");
GivePlayermoney(i,-9999);
GameTextForPlayer(i,"~r~ n~b~00~y~b ~p~ pwnt",5000,4);
}
}
![]() Код:
for(new i;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
SendClientMessage(i,somecolor,"Payday! You won $-9999 >:D");
GivePlayermoney(i,-9999);
GameTextForPlayer(i,"~r~ n~b~00~y~b ~p~ pwnt",5000,4);
}
}
You don't need a pawn Код:
pawn Код:
- X Cutter |


