31.10.2012, 15:00
My question, why are you using this stock ?
Create always the for-loop. Here's an example.
I'll give everyone $500 cash!
So, i use i instead of playerid
Create always the for-loop. Here's an example.
I'll give everyone $500 cash!
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GivePlayerMoney(i, 500);
SendClientMessage(i, -1, "An Admin has sent you $500.");
}
}