17.08.2014, 19:30
Nope.
pawn Код:
SetTimer("Time",1000,true);
public Time()
{
new h,m,s;
gettime(h,m,s);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
if(pInfo[i][clock] == 1)
{
new hm[20],sc[10];
format(hm,10,"%02i:%02i",h,m);
format(sc,10,":%02i",s);
PlayerTextDrawSetString(i, clock[i],hm);
PlayerTextDrawSetString(i, clock_sec[i],sc);
}
}
return 1;
}