[Ajuda] clima
#6

pawn Код:
new M[3];
forward MudarHorario();//topo

SetTimer("MudarHorario",1000,true); //OnGameModeInit

public MudarHorario(){//final do gm
    gettime(M[0],M[1], M[2]);
    if(M[0] == 5 && M[1] >= 0 && M[1] <= 59) return SetWorldTime(Tempo das 5 horas aqui);
    if(M[0] == 7 && M[1] >= 0 && M[1] <= 59) return SetWorldTime(Tempo das 7 horas aqui);
    return 1;
}
Reply


Messages In This Thread
clima - by Cromado - 12.06.2013, 13:40
Re: clima - by Delete_ - 12.06.2013, 15:17
Re: clima - by Cromado - 12.06.2013, 16:03
Re: clima - by -GooGle- - 12.06.2013, 16:32
Re: clima - by Cromado - 12.06.2013, 16:41
Re: clima - by -GooGle- - 12.06.2013, 16:50
Re: clima - by Cromado - 12.06.2013, 17:03
Re: clima - by -GooGle- - 12.06.2013, 17:10
Re: clima - by Cromado - 12.06.2013, 20:08
Re: clima - by -GooGle- - 12.06.2013, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)