SA-MP Forums Archive
/r Couum Problema - 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: /r Couum Problema (/showthread.php?tid=478271)



/r Couum Problema - Lucas_Rocha - 28.11.2013

Bom galera Tipo quando eu vou botar minha org na /r ele da 26 Erros

Ai quando eu tiro fica normal


Codigo do /r na minha Org

pawn Код:
if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Comandante %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Cabo %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Cadete %s: %s, cвmbio. **", sendername, result); }
                else
                {
                    format(string, sizeof(string), "** Guarda %s: %s, cвmbio. **", sendername, result);
                }



Respuesta: /r Couum Problema - Lucas_Rocha - 28.11.2013

@UP


Re: /r Couum Problema - JackStenzel - 28.11.2013

Tб faltando fechar uma chave ai hein

pawn Код:
if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Comandante %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Cabo %s: %s, cвmbio. **", sendername, result); }
                else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Cadete %s: %s, cвmbio. **", sendername, result); }
                else
                {
                    format(string, sizeof(string), "** Guarda %s: %s, cвmbio. **", sendername, result);
                }
           }
Ps: tenta assim nao sei se ta certo