Quote:
Originally Posted by DarrenReeder
pawn Код:
//at top of script new minuteTimer;
//OnGameModeInit minuteTimer = SetTimer("minute", 60000, true);
//OnGameModeExit KillTimer(minuteTimer);
//Anywhere (near the other publics) - Use foreach if you know it.. forward minute(); public minute(){ for(new i = 0; i<MAX_PLAYERS; i++){ if(minute[i] => 59){ minte[i] = 0; hour[i]++; }else{ minute[i]++; } } return 1; }
where i use minute[i] and hour[i] you will change to whatever the minutes and hours in your enum,.. like "PlayerInfo[i][pMinutes]" for example...
EDIT:
sorry for messy code, im at college so i can set it up correctly.. although break it all down and it should work..
|
yeh then if you want it to show
sendclientmessage or if you want to make it save to a file
use dini or y_ini