Set Nightmodus?
#7

Not sure if time passes on its own....
pawn Код:
new KeepNight = 1;
OnGameModeInit()
{
    SetNight();
}

forward SetNight();
public SetNight()
{
    SetWorldTime(0);
    if (KeepNight)
    {
        SetTimer("SetNight", 120000, 0);
    }
    return 1;
}
Reply


Messages In This Thread
Set Nightmodus? - by samtey - 20.07.2011, 21:39
AW: Set Nightmodus? - by samtey - 20.07.2011, 21:45
Re: Set Nightmodus? - by Steven82 - 20.07.2011, 21:47
Re: Set Nightmodus? - by Daren_Jacobson - 20.07.2011, 21:55
AW: Set Nightmodus? - by samtey - 20.07.2011, 22:00
AW: Set Nightmodus? - by samtey - 20.07.2011, 22:12
Re: Set Nightmodus? - by Daren_Jacobson - 20.07.2011, 22:15
AW: Set Nightmodus? - by samtey - 21.07.2011, 07:12
Re: Set Nightmodus? - by Steven82 - 21.07.2011, 08:02
AW: Set Nightmodus? - by samtey - 21.07.2011, 08:51

Forum Jump:


Users browsing this thread: 3 Guest(s)