Jailtimer
#4

Try debugging:
Код:
public JailTi()
{
print("JailTi has been called!");
	for(new i=0; i<MAX_PLAYERS; i++)
	{
if(IsPlayerConnected(i)
{
  	if (PlayerInfo[i][pJailed] == 1)
  	{
    	new string[128];
    	format(string, sizeof(string),"~n~~n~~n~~n~~h~~h~Jail Time: ~h~~h~%d seconds",PlayerInfo[i][pJailTime] - 1);
    	GameTextForPlayer(i, string, 500000, 3);
		}
}
	}
}
And check if it will print you "Jail timer called" to console.. If it won't that means that you made some errors not in timer..
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)