[Pedido] Clima real, Dia, Tarde, Noite.
#3

procure pela callback OnGameModeInit() e adicione um timer:

pawn Code:
SetTimer("atualizarTempo", (60000 * 60000), true);
e em outro local do script que nгo seja dentro de uma callback(public) adicione:

pawn Code:
forward atualizarTempo();
public atualizarTempo()
{
    static horas;
    gettime(horas);
    SetWorldTime((horas + 3));
    return 0x01;
}
Reply


Messages In This Thread
Clima real, Dia, Tarde, Noite. - by clerISoN - 03.04.2013, 22:33
Re: Clima real, Dia, Tarde, Noite. - by Gii - 03.04.2013, 22:39
Re: Clima real, Dia, Tarde, Noite. - by Falcon. - 03.04.2013, 22:44
Re: Clima real, Dia, Tarde, Noite. - by SoulRipper113 - 03.04.2013, 22:47
Re: Clima real, Dia, Tarde, Noite. - by Gii - 03.04.2013, 22:48
Re: Clima real, Dia, Tarde, Noite. - by clerISoN - 03.04.2013, 22:53
Re: Clima real, Dia, Tarde, Noite. - by SoulRipper113 - 03.04.2013, 22:55
Re: Clima real, Dia, Tarde, Noite. - by Gii - 03.04.2013, 22:55
Re: Clima real, Dia, Tarde, Noite. - by clerISoN - 03.04.2013, 23:28
Re: Clima real, Dia, Tarde, Noite. - by Falcon. - 03.04.2013, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)