pawn Код:
forward ChangeTime();
public ChangeTime()
{
new
string[6];
time[1] ++;
if(time[1] > 59) time[1] = 0, time[0] ++;
if(time[0] > 23) time[0] = 0, time[1] = 0;
format(string, sizeof(string), "%02d:%02d", time[0], time[1]);
TextDrawSetString(txtTimeDisp, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i)) SetPlayerTime(i, time[0], time[1]);
}
return 1;
}
That should update the text draw.