SA-MP Forums Archive
[AJUDA] Dialog Text - 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] Dialog Text (/showthread.php?tid=289386)



[AJUDA] Dialog Text - wevertonneves - 11.10.2011

Entao
Eu tava criando um box de texto e tals quando fui compilar deu uns erros nao consigui resolver
olha aki a Filter:
PHP код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#include <dini>
#pragma tabsize 0
/*new Menu:roupasmenu;  */
#define DialogBoxEx 1
public OnFilterScriptInit()
{
/*
    roupasmenu = CreateMenu ( "Roupasmenu" , 1 , 300,0 , 300,0 , 300,0 , 300,0 ) ;
    AddMenuItem(roupasmenu, 0, "241");
    AddMenuItem(roupasmenu, 0, "242");
    AddMenuItem(roupasmenu, 0, "243");
    AddMenuItem(roupasmenu, 0, "244");
    AddMenuItem(roupasmenu, 0, "245");
    AddMenuItem(roupasmenu, 0, "246");
    AddMenuItem(roupasmenu, 0, "241");
    AddMenuItem(roupasmenu, 0, "242");
    AddMenuItem(roupasmenu, 0, "243");
    AddMenuItem(roupasmenu, 0, "244");
    AddMenuItem(roupasmenu, 0, "245");
    AddMenuItem(roupasmenu, 0, "246");
    AddMenuItem(roupasmenu, 0, "247");
    AddMenuItem(roupasmenu, 0, "248");
    AddMenuItem(roupasmenu, 0, "249");
    AddMenuItem(roupasmenu, 0, "250");
    AddMenuItem(roupasmenu, 0, "251");
    AddMenuItem(roupasmenu, 0, "252");
    AddMenuItem(roupasmenu, 0, "253");
    AddMenuItem(roupasmenu, 0, "254");
    AddMenuItem(roupasmenu, 0, "255");
    AddMenuItem(roupasmenu, 0, "256");
    AddMenuItem(roupasmenu, 0, "257");
    AddMenuItem(roupasmenu, 0, "258");
    AddMenuItem(roupasmenu, 0, "259");
    AddMenuItem(roupasmenu, 0, "260");
    AddMenuItem(roupasmenu, 0, "261");
    AddMenuItem(roupasmenu, 0, "262");
    AddMenuItem(roupasmenu, 0, "263");
    AddMenuItem(roupasmenu, 0, "264");
    AddMenuItem(roupasmenu, 0, "265");
    AddMenuItem(roupasmenu, 0, "266");
    AddMenuItem(roupasmenu, 0, "267");
    AddMenuItem(roupasmenu, 0, "268");
    AddMenuItem(roupasmenu, 0, "269");
    AddMenuItem(roupasmenu, 0, "270");
                        */
    
CreatePickup(1239,1507.8744,-1714.6392,14.0469,94.4999);
    
Create3DTextLabel("Use:/Roupas para ver suas roupas ,",0x00FF40AA  ,308.1425,1120.4396,1083.8828,25,0,50);
    return 
true;
}
public 
OnPlayerConnect(playerid)
{
return 
1;
}
/*
if(CurrentMenu == roupasmenu)
{
    switch(row)
    {
                case 0:// The first item listed
                {
                     SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    SetPlayerSkin(playerid, 241);
                    GivePlayerMoney(playerid, -100);
                }
                case 1: // The second item listed
                {
                    SetPlayerSkin(playerid, 242);
                    SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                case 2: // The third item listed
                {
                 SetPlayerSkin(playerid, 243);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 3: // The third item listed
                {
                 SetPlayerSkin(playerid, 244);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 4: // The third item listed
                {
                    SetPlayerSkin(playerid, 245);
                    SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 5: // The third item listed
                {
                   SetPlayerSkin(playerid, 246);
                   SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 6: // The third item listed
                {
                    SetPlayerSkin(playerid, 247);
                    SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 7: // The third item listed
                {
                 SetPlayerSkin(playerid, 248);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 8: // The third item listed
                {
                SetPlayerSkin(playerid, 249);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 9: // The third item listed
                {
                SetPlayerSkin(playerid, 250);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 10: // The third item listed
                {
                 SetPlayerSkin(playerid, 251);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 11: // The third item listed
                {
                SetPlayerSkin(playerid, 252);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 12: // The third item listed
                {
                SetPlayerSkin(playerid, 253);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 13: // The third item listed
                {
                 SetPlayerSkin(playerid, 254);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                GivePlayerMoney(playerid, -100);
                }
              case 14: // The third item listed
                {
                 SetPlayerSkin(playerid, 255);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                 GivePlayerMoney(playerid, -100);
                }
              case 15: // The third item listed
                {
                SetPlayerSkin(playerid, 256);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                GivePlayerMoney(playerid, -100);
                }
                case 16: // The third item listed
                {
                SetPlayerSkin(playerid, 257);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                GivePlayerMoney(playerid, -100);
                }
                case 17: // The third item listed
                {
                SetPlayerSkin(playerid, 258);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 18: // The third item listed
                {
                SetPlayerSkin(playerid, 259);
                 SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                  case 19: // The third item listed
                {
                SetPlayerSkin(playerid, 260);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 20: // The third item listed
                {
                SetPlayerSkin(playerid, 261);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 21: // The third item listed
                {
                SetPlayerSkin(playerid, 262);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 22: // The third item listed
                {
                SetPlayerSkin(playerid, 263);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 23: // The third item listed
                {
                SetPlayerSkin(playerid, 264);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 24: // The third item listed
                {
                SetPlayerSkin(playerid, 265);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                 case 25: // The third item listed
                {
                SetPlayerSkin(playerid, 266);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 26: // The third item listed
                {
                SetPlayerSkin(playerid, 267);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 27: // The third item listed
                {
                SetPlayerSkin(playerid, 268);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 28: // The third item listed
                {
                SetPlayerSkin(playerid, 269);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 29: // The third item listed
                {
                SetPlayerSkin(playerid, 270);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
              case 30: // The third item listed
                {
                SetPlayerSkin(playerid, 294);
                SendClientMessage(playerid, 0x00FF80AA,"Voзe pegou o disfarзe");
                    GivePlayerMoney(playerid, -100);
                }
                case 31: // The third item listed
                {
                SendClientMessage(playerid, 0x000000AA,"Para ver a skin dos ids acesse:https://sampwiki.blast.hk/wiki/Skins:All");
                GivePlayerMoney(playerid, -100);
                        }
    }
}
*/
//Agora vocк irб no OnDialogResponse e colocarб a funзгo apуs ele ter apertado OK.
public OnPlayerCommandText(playeridcmdtext[])
{
        if (
strcmp("/entrarcasa"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,2335.1667,-1045.6691,52.3582))
        {
        
SetPlayerInterior(playerid5)// Interior 5 aonde o player irб ser setado.
        
SetPlayerPos(playerid318.564971,1118.209960,1083.882812);// Aqui й a posiзгo que ele vai spawnar dentro da casa.
        
SendClientMessage(playerid0xFF00AA"Bem vindo na casa dos hitmans!!");//Mensagem voce pode enfeitar como preferir.
        
return 1;
    }
    return 
1;
    }
     if (
strcmp("/saircasa"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,318.7040,1114.4817,1083.8828))
        {
        
SetPlayerInterior(playerid0)// Interior 5 aonde o player irб ser setado.
        
SetPlayerPos(playerid2335.1667,-1045.6691,52.3582);// Aqui й a posiзгo que ele vai spawnar dentro da casa.
        
SendClientMessage(playerid0xFF00AA"Saindo casa dos hitmans!!");//Mensagem voce pode enfeitar como preferir.
        
return 1;
    }
    return 
1;
    }
     
/*
     if(strcmp(cmdtext, "/Roupas", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0,308.1425,1120.4396,1083.8828))
        {
        SendClientMessage(playerid,0xFF0000AA,"Roupas normais: ");
            SendClientMessage(playerid,0xFF0000AA,"");
            SendClientMessage(playerid,0xFF0000AA,"/ ");
            SendClientMessage(playerid,0xFF0000AA,"ґPara saber as roupas dos ids acesse:https://sampwiki.blast.hk/wiki/Skins:All");
            SendClientMessage(playerid,0x00FF40AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
            SendClientMessage(playerid,0xFF0000AA,"                        "                               );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                           );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                           );
            SendClientMessage(playerid,0xFF0000AA,"                     "                                          );
            SendClientMessage(playerid,0xFF0000AA,"                     "                                            );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                                    );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                           );
            SendClientMessage(playerid,0xFF0000AA,"                     "                                                  );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                                       );
            SendClientMessage(playerid,0xFF0000AA,"                     "                                            );
            SendClientMessage(playerid,0xFF0000AA,"                     "                                                    );
            SendClientMessage(playerid,0xFF0000AA,"                      "      );
            SendClientMessage(playerid,0xFF0000AA,"                      "                                                   );
            SendClientMessage(playerid,0x00FF80AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
        return 1;
        }
    return 1;
    }
    */
    // teste
    
if(!strcmp(cmdtext"/relax"true))
{
    
ShowPlayerDialog(playerid2DIALOG_STYLE_MSGBOX"Are you sure?""Roupas normais:240,/241,/242,/243,/244,/245,/246/247,/248,/249,/250,/251,/252,/253,/254,/255,/256/n257,/258,/259,/260,/261,/262,/263,/264,/265,/266,/267,/268,/269,/270/nRoupas de organizaзoes e Gangues./nGroove = 105, 106, 107/nBallas = 102, 103, 104 /nAztecas = 114, 115, 116 /nVagos = 108, 109, 110/nTaliban = 121/nYakuza = 120, 118, 117/nAl'Queada = 123 /n Civil = 29 /n Prefeitura = 163, 164 /n Taxistas= 225 /n COPs (De Preto) = 265, 266, 267 e COPs (De BEGE) = 282, 283 /n Exйrcito = 287""yes""no");
    return 
1;
}
           if(!
strcmp("/287"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa do Exercito");
         
SetPlayerSkin(playerid287);
        return 
1;
        }
    return 
1;
    }
             if(!
strcmp("/283"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de Bege)");
         
SetPlayerSkin(playerid283);
        return 
1;
        }
    return 
1;
    }
            if(!
strcmp("/282"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de Bege)");
         
SetPlayerSkin(playerid282);
        return 
1;
        }
    return 
1;
    }
           if(!
strcmp("/267"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
         
SetPlayerSkin(playerid267);
        return 
1;
        }
    return 
1;
    }
        if(!
strcmp("/266"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
         
SetPlayerSkin(playerid266);
        return 
1;
        }
    return 
1;
    }
         if(!
strcmp("/265"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Cops(de preto)");
         
SetPlayerSkin(playerid265);
        return 
1;
        }
    return 
1;
    }
           if(!
strcmp("/225"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Taxistas");
         
SetPlayerSkin(playerid225);
        return 
1;
        }
    return 
1;
    }
        if(!
strcmp("/164"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Prefeitura");
         
SetPlayerSkin(playerid164);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/163"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Prefeitura");
         
SetPlayerSkin(playerid163);
        return 
1;
        }
    return 
1;
    }
    if(!
strcmp("/29"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa de Civil");
         
SetPlayerSkin(playerid29);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/123"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Al'Queada");
         
SetPlayerSkin(playerid123);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/117"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa da Yakuza");
         
SetPlayerSkin(playerid177);
        return 
1;
        }
    return 
1;
    }
      if(!
strcmp("/120"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe  pegou a roupa da Yakuza");
         
SetPlayerSkin(playerid120);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/121"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos TaliBan");
         
SetPlayerSkin(playerid121);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/110"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
         
SetPlayerSkin(playerid110);
        return 
1;
        }
    return 
1;
    }
    if(!
strcmp("/116"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
         
SetPlayerSkin(playerid116);
        return 
1;
        }
    return 
1;
    }
      if(!
strcmp("/108"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
         
SetPlayerSkin(playerid108);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/109"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Vagos");
         
SetPlayerSkin(playerid109);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/106"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
         
SetPlayerSkin(playerid106);
        return 
1;
        }
    return 
1;
    }
        if(!
strcmp("/103"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
         
SetPlayerSkin(playerid103);
        return 
1;
        }
    return 
1;
    }
      if(!
strcmp("/104"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
         
SetPlayerSkin(playerid104);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/114"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
         
SetPlayerSkin(playerid114);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/115"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Aztecas");
         
SetPlayerSkin(playerid115);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/102"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupas do Ballas");
         
SetPlayerSkin(playerid102);
        return 
1;
        }
    return 
1;
    }
      if(!
strcmp("/107"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
         
SetPlayerSkin(playerid107);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/105"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe pegou a roupa dos Groove");
         
SetPlayerSkin(playerid105);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/106"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid106);
        return 
1;
        }
    return 
1;
    }
    if(!
strcmp("/240"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid240);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/241"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid241);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/242"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid242);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/243"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid243);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/244"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid244);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/245"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid245);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/246"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid246);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/247"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid247);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/248"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid248);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/249"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid249);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/250"cmdtext,true))
    {
       if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
       
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid250);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/251"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid251);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/252"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid252);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/253"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid253);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/254"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid254);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/255"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid255);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/256"cmdtext,true))
    {
       if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid256);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/257"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid257);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/258"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid258);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/259"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid259);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/260"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid260);
        return 
1;
        }
    return 
1;
    }
      if(!
strcmp("/261"cmdtext,true))
    {
       if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
       
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid261);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/262"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid262);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/263"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid263);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/264"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid264);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/265"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid265);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/266"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid266);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/267"cmdtext,true))
    {
       if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid267);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/268"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid268);
        return 
1;
        }
    return 
1;
    }
  if(!
strcmp("/269"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid269);
        return 
1;
        }
    return 
1;
    }
       if(!
strcmp("/270"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid270);
        return 
1;
        }
    return 
1;
    }
     if(!
strcmp("/260"cmdtext,true))
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,308.1425,1120.4396,1083.8828))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Voзe esta usando disfarce");
         
SetPlayerSkin(playerid260);
        return 
1;
        }
    return 
1;
    }
    return 
0;

agora os erros:
PHP код:
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : warning213tag mismatch
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error075input line too long (after substitutions)
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error037invalid string (possibly non-terminated string)
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error017undefined symbol "Roupas"
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : warning215expression has no effect
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error029invalid expressionassumed zero
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(373) : error fatal107too many error messages on one line 
a maioria dos erros e nessa linha:
PHP код:
   if(!strcmp(cmdtext"/relax"true))
{
    
ShowPlayerDialog(playerid2DIALOG_STYLE_MSGBOX"Are you sure?""Roupas normais:240,/241,/242,/243,/244,/245,/246/247,/248,/249,/250,/251,/252,/253,/254,/255,/256/n257,/258,/259,/260,/261,/262,/263,/264,/265,/266,/267,/268,/269,/270/nRoupas de organizaзoes e Gangues./nGroove = 105, 106, 107/nBallas = 102, 103, 104 /nAztecas = 114, 115, 116 /nVagos = 108, 109, 110/nTaliban = 121/nYakuza = 120, 118, 117/nAl'Queada = 123 /n Civil = 29 /n Prefeitura = 163, 164 /n Taxistas= 225 /n COPs (De Preto) = 265, 266, 267 e COPs (De BEGE) = 282, 283 /n Exйrcito = 287""yes""no");
    return 
1;

Deis de ja obrigado


Re: AJUDA]Dialog Text - Josma_cmd - 11.10.2011

A linha estб muito grande e nгo sei se percebeu tem vбrias skins na mesma linha.