Getting a specific time to make something happen
#2

Should be like this I guess:

pawn Код:
new Hour, Minute, Second;
gettime(Hour,Minute, Second);
if(Hour == 0) {
    /* Your code here */
}
In case you want it running every second, you would need to have it running under a timer.
Reply


Messages In This Thread
Getting a specific time to make something happen - by Twizted - 04.11.2013, 20:28
Re: Getting a specific time to make something happen - by InglewoodRoleplay - 04.11.2013, 20:31
Re: Getting a specific time to make something happen - by iGetty - 04.11.2013, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)