16.10.2014, 12:27
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;
}