SA-MP Forums Archive
[Ajuda] Nгo ta indo - 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] Nгo ta indo (/showthread.php?tid=374474)



Nгo ta indo - Tony_Rodrigues - 02.09.2012

Bom, mesmo o player digitando 'Seguinte' nгo muda sua skin..
Por que isso acontece?
pawn Код:
if(EscolhendoSkin[playerid] == true)
        {
            if(strcmp(text,"Seguinte",true) == 0)
            {
                switch(IDDaOrgConvidada[playerid] == 1)
                {
                    case 1:
                    {
                        if(SkinSelecionada[playerid] == 1){ SetPlayerSkin(playerid,280); SkinSelecionada[playerid] = 2; }
                        else if(SkinSelecionada[playerid] == 2){ SetPlayerSkin(playerid,281); SkinSelecionada[playerid] = 3; }
                        else if(SkinSelecionada[playerid] == 3){ SetPlayerSkin(playerid,282); SkinSelecionada[playerid] = 4; }
                        else if(SkinSelecionada[playerid] == 4){ SetPlayerSkin(playerid,284); SkinSelecionada[playerid] = 1; }
                    }
                }
            }



Re: Nгo ta indo - Abravanel - 02.09.2012

pawn Код:
switch(IDDaOrgConvidada[playerid] == 1)
Nгo seria:
pawn Код:
switch(IDDaOrgConvidada[playerid])
? ...


Re: Nгo ta indo - matheus280 - 03.09.2012

mesmo dijitando isso no chat?
troca "seguinte" por /seguinte e ve se funciona. se o problema for pq с dijita no chat