[Ajuda] Analisem meu cуdigo
#2

Simplificando...
pawn Код:
COMMAND:clima (playerid, params[])
{
    new clima;
    if (sscanf(params, "d", clima))
        return SendClientMessage(playerid, -1, "Modo Certo: /clima [1-50] ou 100, 250, 2009");
    if(clima < 1 || clima > 50 && clima != 100 && clima != 250 && clima != 2009) return SendClientMessage(playerid, -1, "Erro, clima invбlido");
    SetWeather(clima);
    return 1;
}
Reply


Messages In This Thread
Analisem meu cуdigo - by BWCALLEf - 16.10.2014, 12:03
Re: Analisem meu cуdigo - by connork - 16.10.2014, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)