Payday
#1

Hello guys,

I have a question on how to make payday per hour.

I use this script:

pawn Код:
// ------ Forwards
forward Realtime();

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

// ------ Public RealTime
public Realtime()
{
    new hour, minute, second;
    gettime(hour, minute, second);
    SetWorldTime(hour);
    return 1;
}
Dunno if this helps you guys.

Now my question is to have a payday every time the time is XX:00 (11:00, 12:00 etc.)

Thanks in advance!

Hipflop
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: 2 Guest(s)