09.01.2010, 15:45
Код:
new jailtimer;
Код:
KillTimer(jailtimer);
Код:
jailtimer = SetTimer("JailTi", 1000, 1);
Код:
forward JailTi();
Код:
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); } } }