SA-MP Forums Archive
[Ajuda] Como Coloco Clima De Noite no PPC_Trucking - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Como Coloco Clima De Noite no PPC_Trucking (/showthread.php?tid=504886)



Como Coloco Clima De Noite no PPC_Trucking - ElGringo - 06.04.2014

ajudem ai Como coloco clima de noite nessa gm ? nao fica de noite la.


Re: Como Coloco Clima De Noite no PPC_Trucking - Dark.Angel - 06.04.2014

Cara, usa o search que vocк acha quase tudo q vc qr, ou olha a 'wikisamp'

Como trocar o clima para um jogador:https://sampwiki.blast.hk/wiki/SetPlayerWeather
Trocar o clima para o servidor todo: https://sampwiki.blast.hk/wiki/SetWeather
ID dos climas: https://sampwiki.blast.hk/wiki/WeatherID


Re: Como Coloco Clima De Noite no PPC_Trucking - ElGringo - 06.04.2014

Nгo Funcionou.


Re: Como Coloco Clima De Noite no PPC_Trucking - Dark.Angel - 06.04.2014

pawn Код:
public OnGameModeInit()
{
    SetWeather(1); // Muda o 1 para o ID do clima noite ...
    return 1;
}



Re: Como Coloco Clima De Noite no PPC_Trucking - jdsfenix - 06.04.2014

Nгo vai funcionar pois no GM do PCC_Trucking ja vem um clima automбtico, e se vocк nгo souber desligar, toda vez que vc usar /clima e mudar pra noite, ou usar /noite, o clima vai continuar de dia!!!


Re: Como Coloco Clima De Noite no PPC_Trucking - Stroon - 06.04.2014

Vai no Gm e procura por
pawn Код:
SetWeather



Re: Como Coloco Clima De Noite no PPC_Trucking - ElGringo - 06.04.2014

pawn Код:
if(cl == 0) { SetWeather(0);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Dia Limpo, Mнnima de {0342F8}22°C{FFFFAF}, Mбxima de {F80303}26°C{FFFFAF}."); }
 if(cl == 1) { SetWeather(1);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Clima Seco, Mнnima de {0342F8}24°C{FFFFAF}, Mбxima de {F80303}28°C{FFFFAF}."); }
 if(cl == 2) { SetWeather(3);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Ventos Fortes, Mнnima de {0342F8}19°C{FFFFAF}, Mбxima de {F80303}22°C{FFFFAF}."); }
 if(cl == 3) { SetWeather(7);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Tempo Nublado com Ventos fortes, Mнnima de {0342F8}15°C{FFFFAF}, Mбxima de {F80303}18°C{FFFFAF}."); }
 if(cl == 4) { SetWeather(8);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Tempo Chuvoso com Ventos fortes, Mнnima de {0342F8}12°C{FFFFAF}, Mбxima de {F80303}15°C{FFFFAF}."); }
 if(cl == 5) { SetWeather(9);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Neblina forte, Mнnima de {0342F8}2°C{FFFFAF}, Mбxima de {F80303}5°C{FFFFAF}."); }
 if(cl == 6) { SetWeather(11);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Cйu Limpo, Mнnima de {0342F8}22°C{FFFFAF}, Mбxima de {F80303}26°C{FFFFAF}."); }
 if(cl == 7) { SetWeather(12);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Nublado com Ventos fracos, Mнnima de {0342F8}15°C{FFFFAF}, Mбxima de {F80303}18°C{FFFFAF}."); }
 if(cl == 8) { SetWeather(13);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Cйu amarelado, Mнnima de {0342F8}19°C{FFFFAF}, Mбxima de {F80303}21°C{FFFFAF}."); }
 if(cl == 9) { SetWeather(15);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Tempo Nublado, Mнnima de {0342F8}12°C{FFFFAF}, Mбxima de {F80303}15°C{FFFFAF}."); }
 if(cl == 10) { SetWeather(16);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Chuva Forte, Cuidado com a pista escorregadia, Mнnima de {0342F8}4°C{FFFFAF}, Mбxima de {F80303}7°C{FFFFAF}."); }
 if(cl == 11) { SetWeather(17);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Cйu Alaranjado, Mнnima de {0342F8}11°C{FFFFAF}, Mбxima de {F80303}14°C{FFFFAF}."); }
 if(cl == 12) { SetWeather(19);SendClientMessageToAll(CLIMATEMPO, "[Rбdio] Neblina Densa com Vento forte, Mнnima de {0342F8}-2°C{FFFFAF}, Mбxima de {F80303}1°C{FFFFAF}."); }
Achei isso.


Re: Como Coloco Clima De Noite no PPC_Trucking - Stroon - 06.04.2014

pawn Код:
CMD:dia(playerid, params[])
{
    if(!(IsPlayerAdmin(playerid))) return SendClientMessage(playerid, -1, "[ERRO] Vocк nгo й um administrador!");
    SetWorldTime(12);
    SendClientMessage(playerid,-1,"[INFO] Vocк alterou o clima para dia!");
    return 1;
}
pawn Код:
CMD:noite(playerid, params[])
{
    if(!(IsPlayerAdmin(playerid))) return SendClientMessage(playerid, -1, "[ERRO] Vocк nгo й um administrador!");
    SetWorldTime(1);
    SendClientMessage(playerid,-1,"[INFO] Vocк alterou o clima para noite!");
    return 1;
}



Re: Como Coloco Clima De Noite no PPC_Trucking - ElGringo - 06.04.2014

Onde coloco isso amigo ?


Re: Como Coloco Clima De Noite no PPC_Trucking - Stroon - 06.04.2014

Coloca onde fica os comandos!