[Ajuda] Luzes anoitecer
#2

pawn Код:
#include <a_samp>

// forward
forward tempo();

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Filter Tempo, By Steel (steeldark)");
    print("--------------------------------------\n");

    SetTimer("tempo",500,true);

    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

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

    if(Hour >= 06 && Hour <= 18){
    SetWorldTime(12);
    SetWeather(12);
    }
    else
        {
        SetWorldTime(0);
        SetWeather(43);
        }
}
Reply


Messages In This Thread
Luzes anoitecer - by ThiagoMK - 08.07.2013, 17:14
Re: Luzes anoitecer - by JonathanFeitosa - 09.07.2013, 03:43

Forum Jump:


Users browsing this thread: 1 Guest(s)