20.02.2011, 17:12
How can i switch on the lights while the server time is (for example) 12.00?
//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;
}