lights while the server time is 12.00?
#1

How can i switch on the lights while the server time is (for example) 12.00?
Reply
#2

DO you mean sun light or... a regular light switch?

gettime() function might help. Good luck Mr LZLo!
Reply
#3

I think that it will solve your problem

pawn Код:
//Put in the OnGameModeInit:

SetTimer("Timer12", 1000, true);



//Put in the end of your GameMode:

forward Timer12();
public Timer12()
{
    new Hour,Minute,Second;
    gettime(Hour,Minute,Second);
    if(Hour == 12.00)
    {
        //Put here the Functions about the lights !
    }
    return 1;
}
I hope that i have helped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)