08.01.2010, 12:50
Quote:
Originally Posted by Johnson_boy
Add this to beginning of your vabReklaam1 timer:
for(new i=0; i < MAX_PLAYERS; i++) { And then when there is for instance SetPlayerHealth(playerid, 100); change it to SetPlayerHealth(i, 100); And that for every actoin in vabReklaam1. I'm not sure if thats the best way, but it works. |
pawn Код:
for(new u = 0; u < MAX_PLAYERS; u++) SetTimerEx("vabReklaam1", 10000, false, "i", u);
Use one timer (SetTimer-function) and make a loop for all players inside it.