Jailtimer
#7

Here you are, mine works:
forwards
Код:
forward JailTi();
news
Код:
new jailtimer;
//GameModeExitFunc()
Код:
KillTimer(jailtimer);
//OnGameModeInit()
Код:
jailtimer = SetTimer("JailTi", 1000, 1);
//publics
Код:
public JailTi()
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
  	if (PlayerInfo[i][pJailed] == 1)
  	{
  	  new string[128];
  			format(string, sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~h~~h~Jail Time: ~h~~h~%d seconds", PlayerInfo[i][pJailTime] - 1);
			GameTextForPlayer(i, string, 5000000, 3);
		}
	}
}
Reply


Messages In This Thread
Jailtimer - by Razvann - 09.01.2010, 15:45
Re: Jailtimer - by SiJ - 09.01.2010, 15:47
Re: Jailtimer - by Razvann - 09.01.2010, 15:53
Re: Jailtimer - by SiJ - 09.01.2010, 15:56
Re: Jailtimer - by Razvann - 09.01.2010, 16:07
Re: Jailtimer - by x-unit - 21.01.2010, 18:13
Re: Jailtimer - by Razvann - 21.01.2010, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)