Static Weather
#2

pawn Код:
forward updateTime();
public updateTime()
{
    SetWorldTime(12);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            SetPlayerTime(i, 12, 0);
        }
    }
    return 1;
}

//OnGameModeInit
SetTimer("updateTime", 60 * 1000, 1);
Change "60" in "60 * 1000" to how many minutes you want the time to update in
Reply


Messages In This Thread
Static Weather - by eemalekorraks - 02.09.2013, 12:09
Re: Static Weather - by iTorran - 02.09.2013, 12:12
Re: Static Weather - by Konstantinos - 02.09.2013, 12:16
Re: Static Weather - by Dragonsaurus - 02.09.2013, 13:06
Re: Static Weather - by eemalekorraks - 02.09.2013, 13:47
Re: Static Weather - by Konstantinos - 02.09.2013, 13:51

Forum Jump:


Users browsing this thread: 2 Guest(s)