29.11.2010, 00:41
I was just wondering, this was working at one point, can somebody tell me why this is only working for ID 0?
pawn Код:
new string[128];
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerInfo[i][pCheck] = 1;
CheckNumber[i] = 1000+random(8999);
format(string, 128, "Type /signcheck %d to receive your paycheck.", CheckNumber[i]);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "~y~PayDay~n~~w~Paycheck");
GameTextForPlayer(i, string, 5000, 1);
}
}