Problem[rep]
#5

pawn Код:
public SyncTime()
{
    new string[64];
    new tmphour;
    new tmpminute;
    new tmpsecond;
    gettime(tmphour, tmpminute, tmpsecond);
    FixHour(tmphour);
    tmphour = shifthour;
    if ((tmphour > ghour) || (tmphour == 0 && ghour == 23))
    {
        format(string, sizeof(string), "Este ora Fix Ceasul acuma este: %d:00 Succes incontinuare!",tmphour);
        BroadCast(COLOR_WHITE,string);
        ghour = tmphour;
        PayDay();
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            SendClientMessage(playerid, i, "In 20 Secunde Rac!!");
            SetTimer("ScheduledRespawn",20000,false);
        } // < missed
        if (realtime)
        {
            SetWorldTime(tmphour);
        }
    }
}
Reply


Messages In This Thread
Problem[rep] - by Dan_Barocu - 23.02.2012, 15:36
Re: Problem[rep] - by MP2 - 23.02.2012, 15:38
Re: Problem[rep] - by Konstantinos - 23.02.2012, 15:38
Re: Problem[rep] - by Dan_Barocu - 23.02.2012, 15:44
Re: Problem[rep] - by emokidx - 23.02.2012, 15:46
Re: Problem[rep] - by Konstantinos - 23.02.2012, 15:47
Re: Problem[rep] - by Dan_Barocu - 23.02.2012, 15:50
Re: Problem[rep] - by Konstantinos - 23.02.2012, 15:52
Re: Problem[rep] - by Dan_Barocu - 23.02.2012, 15:59
Re: Problem[rep] - by Dan_Barocu - 23.02.2012, 18:19

Forum Jump:


Users browsing this thread: 3 Guest(s)