Tracking paydays
#9

@master: create now topic

@OP:
Well, let's start with basic method
pawn Код:
public OnGameModeInit() {
    SetTimeout("Payday", XXX, true);
    return 1;
}

forward Payday();
public Payday() {
    static paydays = 0;
    if(1 == paydays % 2) {
        //This is called every 2 paydays
    }
    //Normal payday thingies
    ++paydays;
    return 1;
}
Then you can store current paydays somewhere
Reply


Messages In This Thread
Tracking paydays - by dusk - 17.03.2013, 11:07
Re: Tracking paydays - by Misiur - 17.03.2013, 11:34
Re: Tracking paydays - by dusk - 17.03.2013, 11:55
Re: Tracking paydays - by Misiur - 17.03.2013, 12:09
Re: Tracking paydays - by dusk - 17.03.2013, 12:11
Re: Tracking paydays - by Misiur - 17.03.2013, 12:17
Re: Tracking paydays - by dusk - 17.03.2013, 12:22
Re: Tracking paydays - by master2466 - 17.03.2013, 12:23
Re: Tracking paydays - by Misiur - 17.03.2013, 13:03
Re: Tracking paydays - by dusk - 17.03.2013, 13:13

Forum Jump:


Users browsing this thread: 2 Guest(s)