Payday
#4

Quote:
Originally Posted by Dirkon
Посмотреть сообщение
I dunno if it would work but you can try doing like this:
pawn Код:
// ------ Forwards
forward Realtime();

// ------ OnGameModeInit();
SetTimer("Realtime", 1000, 1);

// ------ Public RealTime
public Realtime()
{
    new hour, minute, second;
    gettime(hour, minute, second);
    SetWorldTime(hour);
    if(minute == 00)
    {
        BLA BLA BLA
    }
    return 1;
}
Never thought of that! I'll try and use it!
Answer in an hour, since its xx:07 now...
Reply


Messages In This Thread
Payday - by Hipflop - 07.07.2011, 15:54
Re: Payday - by Vero - 07.07.2011, 15:58
Re: Payday - by Dirkon - 07.07.2011, 16:00
Re: Payday - by Hipflop - 07.07.2011, 16:01
Re: Payday - by Dirkon - 07.07.2011, 16:04
Re: Payday - by Hipflop - 07.07.2011, 16:09
Re: Payday - by Dirkon - 07.07.2011, 16:19
Re: Payday - by Hipflop - 07.07.2011, 16:40
Re: Payday - by dariusmare - 07.07.2011, 16:49
Re: Payday - by Hipflop - 07.07.2011, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)