[AJUDA] Gamemode
#8

Quote:
Originally Posted by GuiihCamargo
Посмотреть сообщение
Timer = SetTimer ?
Eu nгo sei nada sobre Settimer , poderia me dar um exemplo?
Depois que entender vou seguindo dali!
Sim..
Topo do GameMode

PHP код:
forward Clima1();
forward Clima2();
forward ClimaUltimo(); 
Comando para iniciar
PHP код:
CMD:iniciarclima(playeridparams[])
{
     
SetTimer("Clima1"3600000false);
     return 
1;

No final do GameMode

PHP код:
public Clima1()
{
    
SetWorldTime(Hora);
    
SetWeather(ID do Clima);
    
SetTimer("Clima2"3600000false);

No final do GameMode

PHP код:
public Clima2()
{
    
SetWorldTime(Hora);
    
SetWeather(ID do Clima);
    
SetTimer("Clima3"3600000false);

E assim por diante..
E lembre-se o ultimo deverб sempre comeзar o primeiro denovo, por exemplo

PHP код:
public ClimaUltimo()
{
    
SetWorldTime(Hora);
    
SetWeather(ID do Clima);
    
SetTimer("Clima1"3600000false);

Espero ter ajudado.
Reply


Messages In This Thread
[AJUDA] Gamemode - by GuiihCamargo - 08.03.2012, 23:59
Re: [AJUDA] Gamemode - by Guerra1 - 09.03.2012, 00:19
Re: [AJUDA] Gamemode - by Đeagle - 09.03.2012, 00:23
Re: [AJUDA] Gamemode - by _Jizzy_ - 09.03.2012, 00:25
Re: [AJUDA] Gamemode - by GuiihCamargo - 09.03.2012, 00:26
Re: [AJUDA] Gamemode - by Đeagle - 09.03.2012, 00:32
Re: [AJUDA] Gamemode - by GuiihCamargo - 09.03.2012, 00:36
Re: [AJUDA] Gamemode - by Đeagle - 09.03.2012, 00:53
Re: [AJUDA] Gamemode - by GuiihCamargo - 09.03.2012, 01:10
Re: [AJUDA] Gamemode - by Đeagle - 09.03.2012, 01:16

Forum Jump:


Users browsing this thread: 3 Guest(s)