Clock system
#3

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;
}
Reply


Messages In This Thread
Clock system - by kamiliuxliuxliux - 17.08.2014, 19:22
Re: Clock system - by Juvanii - 17.08.2014, 19:28
Re: Clock system - by kamiliuxliuxliux - 17.08.2014, 19:30
Re: Clock system - by Juvanii - 17.08.2014, 19:40
Re: Clock system - by kamiliuxliuxliux - 17.08.2014, 19:42
Re: Clock system - by Juvanii - 17.08.2014, 19:55
Re: Clock system - by kamiliuxliuxliux - 17.08.2014, 20:04
Re: Clock system - by Juvanii - 17.08.2014, 20:30
Re: Clock system - by kamiliuxliuxliux - 17.08.2014, 20:58
Re: Clock system - by Threshold - 17.08.2014, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)