04.12.2014, 20:28
How to make a payday to give me on every round hour to give me award and need to played 20 minutes in server?
SetTimer("paytime", 3600000, 1);
1000 * 60 * 60
for(new A,B = GetMaxPlayers(); A < B; A++) { if(IsPlayerConnected(A)) { //Code for all players after every one hour. } }
SetTimerEx("paytime",3600000,1,"i",playerid);
forward paytime(playerid); public paytime(playerid) { //Code for player every one hour. }