timer help [+REP]
#1

hey guys i need small help

how to make a time like that 00:00 and start 00:20 etc... until it reachs 10:00

and thnx

sorry for my bad english
Reply
#2

PHP код:
new HourMinuteSecond// Create a variable to store the valor of the time.
gettime(HourMinuteSecond); //Get the current server time, which will be stored in the variables hour, minute and second.
if(Hour == || Minute == 20 || Second == 0) {
//Make Anything here. (Like a variable...)
}
else (
Hour == 10 || Minute == || Second == 0) {
//Make Anything here.

Reply
#3

I hope his will help you out:

PHP код:
forward Timer();
public 
OnGameModeInnit()
{
   
SetTimer("Timer",600000,0); //1000 = 1sec > 600000 = 10 min.
}
public 
Timer()
{
   
// Do something here.

Reply
#4

thnx +rep for you both rep me back if you want thnx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)