toilet
#2

So you need to make a timmer..

Something like

forward toilet();

public OnGameModeInnit()
{
SetTimer("toilet",10000,0);
}
toilet = your timer.

10000 - Time in milliseconds (10 seconds).
0 - Non-repeating.

public Toilet()
{
SendClientMessageToAll(0xFFFF00AA,"10 seconds has passed and you need to go to toilet");
//Do all stuff here.. put some textdraw or something...
}

To kill timer

new toilet1;

public OnGameModeInnit()
{
toilet1 = SetTimer("toilet",10000,0);
}

and when you want to stop it put under your coude

KillTimer(timer1);
Reply


Messages In This Thread
toilet - by romka - 27.08.2013, 10:57
Re: toilet - by Scrillex - 27.08.2013, 11:05

Forum Jump:


Users browsing this thread: 3 Guest(s)