[AJUDA] Erro cmd
#3

Use o comando desta forma :


pawn Код:
if(strfind(cmdtext, "/meuclima", true) == 0)
    {
        if(cmdtext[9] == 0 || cmdtext[9] == 32)
        {
            if(cmdtext[9] != 32 || (cmdtext[10] == 0 && cmdtext[9] == 32)) return SendClientMessage(playerid, 0xFFFFFFAA, "Use /meuclima [ID]");
            SetPlayerWeather(playerid, strval(cmdtext[10]));
            SendClientMessage(playerid, 0xFFFFFFAA,"Vocк mudou seu clima !");
            return 1;
        }
    }


Espero ter ajudado .
Reply


Messages In This Thread
[AJUDA] Erro cmd - by Oakley_TwOPaCk - 14.02.2012, 15:15
Re: [AJUDA] Erro cmd - by zbt - 14.02.2012, 15:24
Re: [AJUDA] Erro cmd - by rjjj - 14.02.2012, 15:30
Re: [AJUDA] Erro cmd - by Oakley_TwOPaCk - 14.02.2012, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)