21.01.2010, 18:52
Here you are, mine works:
forwards
news
//GameModeExitFunc()
//OnGameModeInit()
//publics
forwards
Код:
forward JailTi();
Код:
new jailtimer;
Код:
KillTimer(jailtimer);
Код:
jailtimer = SetTimer("JailTi", 1000, 1);
Код:
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); } } }