[AJUDA] Comando bugado
#2

pawn Код:
new nome[MAX_PLAYER_NAME];//Topo

CMD:clima(playerid, params[])
   {
        new Clima;
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COR_CINZA, "Vocк nгo estб conetado!");

        if(sscanf(params, "d", Clima)) return SendClientMessage(playerid, COR_CINZA, "* USE: /clima [0-45].");
        GetPlayerName(playerid,nome,MAX_PLAYER_NAME);
        if(Clima < 0||Clima > 45) return SendClientMessage(playerid, COR_CINZA, "* Clima de 0 a 45 !");
        format(adminstring, sizeof(adminstring), "<-AdmCmd-> O admin %s mudou o clima para %d.", nome, Clima);
        SendMessageAdminsAll(COR_AMARELO, adminstring);
        SetWeather(Clima);
        return true;
   }
tenta ae.
Reply


Messages In This Thread
[AJUDA] Comando bugado - by Chis - 05.02.2012, 19:27
AW: [AJUDA] Comando bugado - by paulor - 05.02.2012, 19:31
Re: [AJUDA] Comando bugado - by Abravanel - 05.02.2012, 19:31
Respuesta: [AJUDA] Comando bugado - by Chis - 05.02.2012, 19:52
AW: [AJUDA] Comando bugado - by paulor - 05.02.2012, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)