09.01.2010, 15:56
Try debugging:
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..
Код:
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); } } } }