[AJUDA] Gamemode Tempo
#9

Quote:
Originally Posted by GuiihCamargo
Посмотреть сообщение
Nгo...
coloca isso no teu server..

pawn Код:
//no topo do gm
forward tempo();

// no OnGameModInit
SetTimer("tempo",500,true);

//no final do gm

public tempo()
{
    new Hour, Minute, Second;
    gettime(Hour, Minute, Second);

    if(Hour >= 06 && Hour <= 18){
    SetWorldTime(12);
    SetWeather(12);
    }
    else
        {
        SetWorldTime(24);
        SetWeather(24);
        }
}
ou pega esse fs aqui, e coloca no gm. Testado.
Reply


Messages In This Thread
[AJUDA] Gamemode Tempo - by GuiihCamargo - 22.03.2012, 17:24
Re: [AJUDA] Gamemode Tempo - by steeldark - 22.03.2012, 20:37
Re: [AJUDA] Gamemode Tempo - by ViniBorn - 22.03.2012, 21:16
Re: [AJUDA] Gamemode Tempo - by GuiihCamargo - 22.03.2012, 21:35
Re: [AJUDA] Gamemode Tempo - by ViniBorn - 22.03.2012, 21:38
Re: [AJUDA] Gamemode Tempo - by GuiihCamargo - 22.03.2012, 21:42
Re: [AJUDA] Gamemode Tempo - by Lucas_Alemao - 22.03.2012, 21:48
Re: [AJUDA] Gamemode Tempo - by GuiihCamargo - 22.03.2012, 22:02
Re: [AJUDA] Gamemode Tempo - by steeldark - 22.03.2012, 22:40

Forum Jump:


Users browsing this thread: 3 Guest(s)