[Ajuda] Bug (muito esquisito)
#1

Boas, jб pedi vбrias vezes ajuda mas atй hoje ninguйm me ajudou.
O problema que estou tendo й quando logam no server 2 ou mais players os dialog's e os comandos /entrar e /sair deixam de funcionar й um pouco estranho pois quando estб apenas 1 player online funcionam perfeitamente ...
Se alguйm souber como resolver isso me fala , pois eu jб procurei por todo o lado , jб tentei dei vбrias formas resolver isso mas ainda nгo consegui resolver.
Desde jб agradeзo.

pawn Код:
if(strcmp(cmd, "/entrar", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            for(new i = 0; i < sizeof(HouseInfo); i++)
            {
                if (PlayerToPoint(2.5, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
                {
                    if(PlayerInfo[playerid][pPHousekey] == i || HouseInfo[i][hLock] == 0)
                    {
                        SetPlayerInterior(playerid,HouseInfo[i][hInt]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
                        GameTextForPlayer(playerid, "~w~Bem vindo em casa", 5000, 1);
                        PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
                        PlayerInfo[playerid][pLocal] = i;
                        HouseEntered[playerid] = i;
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                    }
                }
            }
            for(new i = 0; i < sizeof(BizzInfo); i++)
            {
                if (PlayerToPoint(2.5, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))
                {
                    if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost])
                    {
                        if(PlayerInfo[playerid][pPbiskey] != i)
                        {
                            if(BizzInfo[i][bLocked] == 1)
                            {
                                GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                                return true;
                            }
                            GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]);
                            format(string, sizeof(string), "~r~-R$%d~n~~w~Digite /sair~n~Para poder sair!", BizzInfo[i][bEntranceCost]);
                            BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost];
                            ExtortionBiz(i, BizzInfo[i][bEntranceCost]);
                            OnPropUpdate();
                            GameTextForPlayer(playerid, string, 5000, 3);
                        }
                        SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
                        SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
                        PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior];
                        PlayerInfo[playerid][pLocal] = i+99;
                        new dood[MAX_PLAYER_NAME];
                        GetPlayerName(playerid, dood, sizeof(dood));
                        format(string, sizeof(string), "%s pagou R$%d para entrar na empresa %d", dood, BizzInfo[i][bEntranceCost], i);
                        printf("%s", string);
                        //PayLog(string);
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro suficiente", 5000, 1);
                    }
                }
            }
            for(new i = 0; i < sizeof(SBizzInfo); i++)
            {
                if (PlayerToPoint(1, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
                {
                    if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost])
                    {
                        if(PlayerInfo[playerid][pPbiskey] != i)
                        {
                            if(SBizzInfo[i][sbLocked] == 1)
                            {
                                GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                                return true;
                            }
                            GivePlayerMoney(playerid,-SBizzInfo[i][sbEntranceCost]);
                            gSpentCash[playerid] = GetPlayerMoney(playerid);
                            SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost];
                            ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]);
                            new dood[MAX_PLAYER_NAME];
                            GetPlayerName(playerid, dood, sizeof(dood));
                            format(string, sizeof(string), "%s payed R$%d to enter sbiz %d", dood, SBizzInfo[i][sbEntranceCost], i);
                            printf("%s", string);
                            OnPropUpdate();
                        }
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro suficiente", 5000, 1);
                    }
                }
            }
            if (PlayerToPoint(3, playerid,1484.3788,-1777.2107,13.6554))
            {//Prefeitura
                SetPlayerInterior(playerid,3);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
                GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1);
                PlayerInfo[playerid][pInt] = 3;
                PlayerInfo[playerid][pLocal] = 241;
            }
            if (PlayerToPoint(3, playerid,2025.3307,-1402.5562,17.2106))
            {//HOSPITAL ENTRAR
                SetPlayerPos(playerid,1165.2401,-1317.4412,-0.8598);
                GameTextForPlayer(playerid, "~w~Bem vindo ao ~n~~b~Hospital !", 5000, 1);
            }
            if (PlayerToPoint(1, playerid,306.3995,-159.1051,999.5938))
            {//COFRE LOJA DE ARMAS 1 ENTRADA
                SetPlayerPos(playerid,305.05056762695,-159.16743469238,999.59375);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerInterior(playerid,6);
            }
            if (PlayerToPoint(1, playerid,301.7848,-76.6545,1001.5156))
            {//COFRE LOJA DE ARMAS 2 ENTRADA
                SetPlayerPos(playerid,301.71704101563,-75.318428039551,1001.515625);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }
            else if (PlayerToPoint(1, playerid,1570.3828,-1333.8882,16.4844))
            {
                SetPlayerPos(playerid, 1545.0068,-1366.5094,327.2868);
            }
            else if(PlayerToPoint(3, playerid,1554.9537,-1675.6584,16.1953))
            {//Departamento de Policia Los Santos
                GameTextForPlayer(playerid, "~w~Departamento da Policia Militar", 5000, 1);
                //SetPlayerVirtualWorld(playerid, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,246.5878,62.7877,1003.6406);
                PlayerInfo[playerid][pInt] = 6;
            }
            else if(PlayerToPoint(2, playerid,1434.1337,-968.4908,37.3894))
            {
                SetPlayerInterior(playerid,1);
                SetPlayerPos(playerid,2155.9976,1597.9829,999.9699);
            }
            else if (PlayerToPoint(3.0, playerid,2155.9976,1597.9829,999.9699))
            {
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1434.1337,-968.4908,37.3894);
            }
            else if(PlayerToPoint(2, playerid,2315.5200,0.3490,26.7422))
            {
                SetPlayerInterior(playerid,1);
                SetPlayerPos(playerid,2167.6201,1618.4679,999.9777);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 3);
            }
            else if (PlayerToPoint(3.0, playerid,2167.6201,1618.4679,999.9777))
            {
                GameTextForPlayer(playerid, "~w~Banco", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,2315.5200,0.3490,26.7422);
            }
            else if(PlayerToPoint(3, playerid,2244.5669,-1664.4495,15.4766))
            {//Entrada Binco
                GameTextForPlayer(playerid, "~w~Binco", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SendClientMessage(playerid, COR_GERAL, "DICA: Use /meuskin para mudar sua roupa");
                SetPlayerInterior(playerid, 1);
                SetPlayerPos(playerid,204,-49,1002);
                PlayerInfo[playerid][pInt] = 1;
            }
            else if (PlayerToPoint(3, playerid,461.3484,-1500.9084,31.0592))
            {//Entrado mercado 24/7
                SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937);
                GameTextForPlayer(playerid, "~w~VICTIM",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SendClientMessage(playerid, COR_GERAL, "DICA: Use /meuskin para mudar sua roupa");
                SetPlayerInterior(playerid,5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
            }
            else if(PlayerToPoint(3, playerid,1836.4064,-1682.4403,13.3493))
            {//Alhambra Entrance
                GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1);
                SetPlayerInterior(playerid, 17);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,493.3891,-22.7212,1000.6797);
                PlayerInfo[playerid][pInt] = 17;
            }
            else if(PlayerToPoint(3, playerid,-2281.4065,2288.4255,4.9669))
            {//ENTRADA HQ GI
                GameTextForPlayer(playerid, "~w~HQ GI", 5000, 1);
                SetPlayerInterior(playerid, 4);
                SetPlayerPos(playerid,-261,1457,1085);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(1, playerid,755.4222,-1361.7944,13.5132))
            {//Entrada Reporters HQ
                SetPlayerPos(playerid, 367.9629,194.3110,1008.3828);
                GameTextForPlayer(playerid, "~w~Hq Reporters",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
            }
            else if(PlayerToPoint(3, playerid,992.9674,-1459.9849,13.5469))
            {//ENTRADA HQ CV
                GameTextForPlayer(playerid, "~w~HQ Comando Vermelho", 5000, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,2308.5269,-1211.2737,1049.0234);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,1106.5376,-299.6835,74.5391))
            {//ENTRADA HQ ts
                GameTextForPlayer(playerid, "~w~HQ Hitmans", 5000, 1);
                SetPlayerInterior(playerid, 8);
                SetPlayerPos(playerid,-42 ,1406, 1085);
                PlayerInfo[playerid][pInt] = 8;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid, 1455.0348,749.8630,11.0234))
            {//ENTRADA HQ admin
                GameTextForPlayer(playerid, "~w~HQ Admin", 5000, 1);
                SetPlayerInterior(playerid, 3);
                SetPlayerPos(playerid,964 ,-53, 1002);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid, 229.2918,-2186.2107,1.2488))
            {//ENTRADA casa condo vip
                GameTextForPlayer(playerid, "~w~Casa Vip", 5000, 1);
                SetPlayerInterior(playerid, 2);
                SetPlayerPos(playerid,2524 ,-1285, 1055);
                PlayerInfo[playerid][pInt] = 2;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,2421.4998,-1219.2438,25.5617))
            {//Pigpen entrada
                GameTextForPlayer(playerid, "~w~The Pig Pen", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 2);
                SetPlayerPos(playerid,1205.0803,-9.9519,1000.9219);
                PlayerInfo[playerid][pInt] = 2;
            }
            else if(PlayerToPoint(3, playerid,2229.9011,-1721.2582,13.5613))
            {//Entrada Ginasio de Lutas
                GameTextForPlayer(playerid, "~w~Ginasio de Lutas", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 5);
                SetPlayerPos(playerid,771.9399,-2.2574,1000.7292);
                PlayerInfo[playerid][pInt] = 5;
            }
            else if (PlayerToPoint(3, playerid,1631.8547,-1172.5637,24.0843))
            {//Loterica entrada
                SetPlayerPos(playerid, 832.6270,7.2666,1004.1797);
                GameTextForPlayer(playerid, "~w~Loterica BKS",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
            }
            else if (PlayerToPoint(3, playerid,1200.4497,-918.7695,43.1105))
            {//Entrada Burger Shot 1
                SetPlayerPos(playerid, 366.0324,-72.6400,1001.5078);
                GameTextForPlayer(playerid, "~w~Vinewood Burger Shot",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,10);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 10;
                InAFoodPlace[playerid] = 2;
                SetPlayerCheckpoint(playerid, 376.8571,-67.6620,1001.5151, 1.0);
            }
            else if (PlayerToPoint(3, playerid,810.4855,-1616.1888,13.5469))
            {//Entrada Burger Shot 2
                SetPlayerPos(playerid, 681.5034,-452.0092,-25.6172);
                GameTextForPlayer(playerid, "~w~Marina Burger Shot",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,1);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 1;
                InAFoodPlace[playerid] = 5;
                SetPlayerCheckpoint(playerid, 683.9015,-456.7076,-25.6099, 1.0);
            }
            else if (PlayerToPoint(3, playerid,927.6217,-1353.0105,13.3438))
            {//Entrada Cluckin Bell
                SetPlayerPos(playerid, 365.7793,-9.1699,1001.8516);
                GameTextForPlayer(playerid, "~w~Cluckin Bell", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 9);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 9;
                InAFoodPlace[playerid] = 1;
                SetPlayerCheckpoint(playerid, 368.9714,-6.2486,1001.8516, 1.0);
            }
            else if (PlayerToPoint(3, playerid,2105.4858,-1806.4725,13.5547))
            {//Entrada Well Stacked Pizza
                SetPlayerPos(playerid, 372.4117,-130.4577,1001.4922);
                GameTextForPlayer(playerid, "~w~Well Stacked Pizza", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
                InAFoodPlace[playerid] = 3;
                SetPlayerCheckpoint(playerid, 375.6895,-118.9683,1001.4995, 1.5);
            }
            else if (PlayerToPoint(3, playerid,975.4691,-1335.9618,13.5319))
            {//Entrada SmK BAR

                SetPlayerPos(playerid, 377.5237,-191.6597,1000.6328);
                GameTextForPlayer(playerid, "~w~BKS's Bar", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 17);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 17;
                InAFoodPlace[playerid] = 4;
                SetPlayerCheckpoint(playerid, 379.0611,-186.6032,1000.6328, 1.0);
            }
            else if(PlayerToPoint(3, playerid,1833.6124,-1842.4968,13.5781))
            {//24/7 estaзгo entrada
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 1;
            }
            else if(PlayerToPoint(3, playerid,1000.5861,-919.8832,42.3281))
            {//24/7 gas station entrance
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerInterior(playerid, 4);
                SetPlayerPos(playerid,-28.2619,-26.2015,1003.5573);
                PlayerInfo[playerid][pInt] = 4;
            }
            else if(PlayerToPoint(3, playerid,1928.6006,-1776.4480,13.5469))
            {//24/7 lado hq pcc
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerInterior(playerid, 16);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,-25.1326,-139.0670,1003.5469);
                PlayerInfo[playerid][pInt] = 16;
            }
            else if (PlayerToPoint(3, playerid, 1315.5110,-898.9860,39.5781))
            {//24/7 perto madd dogg
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 2;
            }
            else if (PlayerToPoint(3, playerid, 1352.4357,-1759.0243,13.5078))
            {//24/7 praзa dp
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 3;
            }
            else if (PlayerToPoint(3, playerid,2480.9678,-1536.6002,24.1730))
            {//HQ VAGOS
                SetPlayerPos(playerid, 2350.6013,-1180.7566,1027.9766);
                GameTextForPlayer(playerid, "~w~HQ Los Vagos",5000,1);
                SetPlayerInterior(playerid,5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3, playerid,327.8898,-1511.8446,36.0325))
            {//Entrada HQ BOPE
                GameTextForPlayer(playerid, "~w~DP Rotam", 5000, 1);
                SetPlayerInterior(playerid, 10);
                SetPlayerPos(playerid,246.4631,110.1669,1003.2257);
                PlayerInfo[playerid][pInt] = 10;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3, playerid,988.6390,-1356.8457,13.5530))
            {//PF Entrada
                SetPlayerPos(playerid, 238.7194,141.7792,1003.0234);
                GameTextForPlayer(playerid, "~w~DP Policia Civil",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,2263.5852,-1458.9557,24.0085))
            {//ENTRADA HQ BALLAS
                GameTextForPlayer(playerid, "~w~HQ Ballas", 5000, 1);
                SetPlayerInterior(playerid, 10);
                SetPlayerPos(playerid,2268.3950,-1210.5328,1047.7491);
                PlayerInfo[playerid][pInt] = 10;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3, playerid,2495.3481,-1691.1355,14.7656))
            {//HQ Groove Street Entrada
                SetPlayerPos(playerid,2496.0061,-1693.5201,1014.7422);
                GameTextForPlayer(playerid, "~g~Groove Street HQ",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 181);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3, playerid,-1681.9230,1350.5095,7.1722))
            {//ENTRADA HQ TriadS
                GameTextForPlayer(playerid, "~w~HQ Triads", 5000, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,345.0741,305.5558,999.1484);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        return 1;
    }
    if(strcmp(cmd, "/sair", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            for(new i = 0; i <  sizeof(HouseInfo); i++)
            {
                if (PlayerToPoint(1, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
                {
                    if(HouseEntered[playerid] == i)
                    {
                        SetPlayerInterior(playerid,0);
                        SetPlayerVirtualWorld(playerid,0);
                        SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
                        PlayerInfo[playerid][pInt] = 0;
                        SetPlayerVirtualWorld(playerid, 0);
                        PlayerInfo[playerid][pLocal] = 255;
                        HouseEntered[playerid] = 255;
                        return true;
                    }
                }
            }
            for(new i = 0; i <  sizeof(BizzInfo); i++)
            {
                if (PlayerToPoint(1, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
                {
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
                    PlayerInfo[playerid][pLocal] = 255;
                    return true;
                }
            }
            if(GetPlayerVehicleID(playerid) >= 1)
            {
                Controle(playerid, 1);
            }
            else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109))
            {
                SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844);
            }
            else if (PlayerToPoint(3.0, playerid,387.7978,173.8582,1008.3828))
            {//Saida Prefeitura
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1484.3788,-1777.2107,13.6554);
                Controle(playerid, 1);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,1161.5105,-1316.5150,-0.8598))
            {//Saida Hospital
                SetPlayerPos(playerid,2025.3307,-1402.5562,17.2106);
                GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
            }
            if (PlayerToPoint(1, playerid,305.05056762695,-159.16743469238,999.59375))
            {//COFRE LOJA DE ARMAS 1 SAIDA
                SetPlayerPos(playerid,306.3995,-159.1051,999.5938);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerInterior(playerid,6);
            }
            if (PlayerToPoint(1, playerid,301.71704101563,-75.318428039551,1001.515625))
            {//COFRE loja de armas 2 SAIDA
                SetPlayerPos(playerid,301.7848,-76.6545,1001.5156);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }
            if(PlayerToPoint(3.0, playerid,246.5878,62.7877,1003.6406))
            {//Saida Departamento de Policia Los Santos
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1554.9537,-1675.6584,16.1953);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3.0, playerid, 204,-49, 1002))
            {//Saida Binco
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2244.5669,-1664.4495,15.4766);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(2.0, playerid,226.293991,-7.431529,1002.210937))
            {//Saido mercado 24/7
                SetPlayerPos(playerid, 459.1313,-1501.1628,31.0392);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,493.3891,-22.7212,1000.6797))
            {//Saida Alhambra
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,1836.4064,-1682.4403,13.3493);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,1205.0803,-9.9519,1000.9219))
            {//saida pigpen
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2421.4998,-1219.2438,25.5617);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,771.9399,-2.2574,1000.7292))
            {//Saida Ginasio de Lutas
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2229.9011,-1721.2582,13.5613);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(1, playerid,367.9629,194.3110,1008.3828))
            {//Reporter Hq
                SetPlayerPos(playerid, 755.4222,-1361.7944,13.5132);
                GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else if (PlayerToPoint(3.0, playerid,832.6270,7.2666,1004.1797))
            {//Loterica saida
                SetPlayerPos(playerid, 1631.8547,-1172.5637,24.084);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,366.0324,-72.6400,1001.5078))
            {//Entrada Burger Shot 1
                SetPlayerPos(playerid, 1200.4497,-918.7695,43.1105);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,681.5034,-452.0092,-25.6172))
            {//Saida Burger Shot 2
                SetPlayerPos(playerid, 810.4855,-1616.1888,13.5469);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,365.7793,-9.1699,1001.8516))
            {//Saida Cluckin Bell
                SetPlayerPos(playerid, 927.6217,-1353.0105,13.3438);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,372.4117,-130.4577,1001.4922))
            {//Saida Well Stacked Pizza
                SetPlayerPos(playerid, 2105.4858,-1806.4725,13.5547);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,377.5237,-191.6597,1000.6328))
            {//Saida SmK BAR

                SetPlayerPos(playerid, 975.4691,-1335.9618,13.5319);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-30.9891,-91.5607,1003.5469))
            {
                if (storeexit[playerid] == 1)
                {//24/7 estaзгo saida
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1833.6124,-1842.4968,13.5781);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 2)
                {//perto madd dogg
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1315.5110,-898.9860,39.5781);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 3)
                {//praзa dp
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1352.4357,-1759.0243,13.5078);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 4)
                {//dillimore
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,824.0099,-557.3440,16.3359);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 5)
                {//dillimore
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,2422.1165,-1740.3470,13.5469);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
            }
            else if(PlayerToPoint(3.0, playerid,-28.2619,-26.2015,1003.5573))
            {//24/7 gas station saida
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1000.5861,-919.8832,42.3281);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3.0, playerid,-25.1326,-139.0670,1003.5469))
            {//24/7 lado hq pcc saida
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,1928.6006,-1776.4480,13.5469);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,2350.6013,-1180.7566,1027.9766))
            {//SAIDA HQ VAGOS
                SetPlayerPos(playerid, 2480.9678,-1536.6002,24.1730);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3.0, playerid,246.4631,110.1669,1003.2257))
            {//Saida HQ BOPE
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,327.8898,-1511.8446,36.0325);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,238.7194,141.7792,1003.0234))
            {//Saida PF
                SetPlayerPos(playerid, 988.6390,-1356.8457,13.5530);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2268.3950,-1210.5328,1047.7491))
            {//SAIDA HQ BALLAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2263.5852,-1458.9557,24.0085);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,374.5317,-2055.1924,8.0156))
            {//ENTRADA HQ AZTECAS
                GameTextForPlayer(playerid, "~w~HQ Los Aztecas", 5000, 1);
                SetPlayerInterior(playerid, 8);
                SetPlayerPos(playerid,2807.8213,-1173.5691,1025.5703);
                PlayerInfo[playerid][pInt] = 8;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2807.8213,-1173.5691,1025.5703))
            {//SAIDA HQ AZTECAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,374.5317,-2055.1924,8.0156);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,2496.0061,-1693.5201,1014.7422))
            {//HQ Groove Street Saida
                SetPlayerPos(playerid,2495.3481,-1691.1355,14.7656);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            if(PlayerToPoint(3.0, playerid,345.0741,305.5558,999.1484))
            {//SAIDA HQ TriadS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,-1681.9230,1350.5095,7.1722);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-261,1457,1085))
            {//SAIDA HQ gi
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,-2281.4065,2288.4255,4.9669);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2308.5269,-1211.2737,1049.0234))
            {//SAIDA HQ CV
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,992.9674,-1459.9849,13.5469);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-42 ,1406, 1085))
            {//SAIDA HQ ts
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1106.5376,-299.6835,74.5391);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,964 ,-53, 1002))
            {//SAIDA HQ admin
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1455.0348,749.8630,11.0234);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2524 ,-1285, 1055))
            {//SAIDA HQ bloodz
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,229.2918,-2186.2107,1.2488);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
        }
        return 1;
    }
pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        OnPlayerCommandText(playerid,"/entrar");
        OnPlayerCommandText(playerid,"/sair");
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, 1642.3599,-2238.1589,13.4979) || IsPlayerInRangeOfPoint(playerid, 2.0, -1421.4819,-287.3259,14.1484) || IsPlayerInRangeOfPoint(playerid, 2.0, 1673.2532,1447.8350,10.7860))
        {
            OnPlayerCommandText(playerid,"/viajar");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2,playerid,2249.8088,-2257.7874,14.7647))
        {
            OnPlayerCommandText(playerid,"/vendermadeira");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2,playerid,1450.0607,-1965.0198,29.8656))
        {
            OnPlayerCommandText(playerid,"/cortarmadeira");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, -1695.3196,1355.9562,7.1797))
        {
            OnPlayerCommandText(playerid,"/dTriad");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 2146.3818,1632.4958,993.5761))
        {
            OnPlayerCommandText(playerid,"/ptbanco");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 1097.9315,-311.2839,73.9922))
        {
            OnPlayerCommandText(playerid,"/dHit");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(1.5,playerid,2224.1484,-1141.8772,1025.7969) || PlayerToPoint(1.0,playerid,1929.5409,-1785.1664,13.5469) || PlayerToPoint(1.0,playerid,2232.2886,-1162.6107,25.8906) || PlayerToPoint(1.0,playerid,1550.4796,-1669.7039,13.5624) || PlayerToPoint(1.5,playerid,957.4803,-48.7381,1001.1172)
        || PlayerToPoint(1.5,playerid,-1347.6376,499.9476,11.1953) || PlayerToPoint(1.5, playerid,2308.7908,-13.2499,26.7422) || PlayerToPoint(1.5,playerid,1468.6473,-1767.3595,18.7958) || PlayerToPoint(1.5,playerid,648.8112,-520.1576,16.3359))
        {
            OnPlayerCommandText(playerid,"/banco");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 361.8300,173.5202,1008.3828))
        {
            OnPlayerCommandText(playerid,"/getemprego");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 1490.2411,1307.2179,1093.2891))
        {
            OnPlayerCommandText(playerid,"/licencas");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (InAFoodPlace[playerid] != 0)
        {
            if(PlayerToPoint(1.5,playerid,368.9714,-6.2486,1001.8516))
            {
                ShowPlayerDialog(playerid, 28, DIALOG_STYLE_LIST, "Cluckin' Bell", "Coraзгo no Espeto R$2\nCarne de Vaca R$4\nCarne de Jacarй R$5\nCarne de Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,368.9714,-6.2486,1001.8516);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,376.8571,-67.6620,1001.5151) || PlayerToPoint(1.5,playerid,683.9015,-456.7076,-25.6099))
            {
                ShowPlayerDialog(playerid, 29, DIALOG_STYLE_LIST, "Burger Shot", "X-Simples R$2\nX-Tudo R$4\nX-Especial R$5\nX-Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,376.8571,-67.6620,1001.5151);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,375.6895,-118.9683,1001.4995))
            {
                ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "Well Stacked Pizza", "Presunto e Mussarela - Pequena R$2\nPresunto e Mussarela - Grande R$4\nFrango e Azeitona R$5\nBacon e Chocolate R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,375.6895,-118.9683,1001.4995);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,379.0611,-186.6032,1000.6328))
            {
                ShowPlayerDialog(playerid, 31, DIALOG_STYLE_LIST, "Jim's sticky ring", "Rosquinha Pequena R$2\nRosquinha Normal R$4\nRosquinha de Chefe R$5\nSuper Rosquinha R$4\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,379.0611,-186.6032,1000.6328);
                SetPlayerFacingAngle(playerid, 280);
            }
            SetCameraBehindPlayer(playerid);
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2.0, playerid, 312.2183,-165.9908,999.6010) || PlayerToPoint(2.0, playerid, 296.4907,-80.6641,1001.5156))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Loja de Armas", "Kitvip\nEagle\nMP5\nShotgun\nAk-47\nM4\nRifle", "Confirmar", "Cancelar");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, 768.2192,-3.9873,1000.7203))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, DIALOGID2, DIALOG_STYLE_LIST, "BKS Estilos De Luta", "Cotoveladas\nBoxe\nRua\nKickBoxing\nKarate\nNormal", "confirma", "Cancela");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2.0, playerid, 2152.4727,-1014.0005,62.8375) || PlayerToPoint(2.0, playerid, 1450.4479,-2287.0803,13.5469) || PlayerToPoint(2.0, playerid, 1919.1384,-1415.4775,13.5703) || PlayerToPoint(2.0, playerid, 1123.7664,-1506.4692,15.7869))
        {
            if (PlayerInfo[playerid][pEmprego] == 4)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela");
            }
            else
            {
                SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um vendedor de drogas");
            }
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2.0, playerid, 1524.4977,-1677.9469,6.2188) || PlayerToPoint(2.0, playerid, 1565.1235,-1666.9944,28.3956) || PlayerToPoint(2.0, playerid, 246.2975,87.4735,1003.6406))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, 2585, DIALOG_STYLE_LIST, "Elevador", "Garagem\nDepartamento\nCobertura", "Confirma", "Cancela");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2, playerid, 1530.0956,-1661.4786,6.2188)/*Pm*/ || PlayerToPoint(2, playerid, 319.8195,-1523.7803,36.0391)/*Rotam*/ || PlayerToPoint(2, playerid, -1522.2317,462.0333,7.1875)/*gn*/
        || PlayerToPoint(2, playerid, 988.4385,-1365.6866,13.5591)/*PF*/)
        {
            if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Polнcia Militar", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Rotam", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Exйrcito", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Polнcia Federal", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um cop");}
        }
        if(PlayerToPoint(2, playerid, -2237.0938,2354.3518,4.9799))
        {
            if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre GI", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um guerrelheiro");}
        }
        if(PlayerToPoint(2, playerid, 400.0511,2539.3369,16.5448))
        {
            if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre F.A.R.C", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um farc");}
        }
        if(PlayerToPoint(2, playerid, 371.4085,-2051.8748,8.0156))
        {
            if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Aztecas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um azteca");}
        }
        if(PlayerToPoint(2, playerid, 1379.2527,-1641.8179,13.5469))
        {
            if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mecanicos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um mecanico");}
        }
        if(PlayerToPoint(2, playerid, 2522.9050,-1679.2809,15.4970))
        {
            if(PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Groove Street", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um groove");}
        }
        if(PlayerToPoint(2, playerid, 2268.1353,-1458.3593,23.6998))
        {
            if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Ballas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um balla");}
        }
        if(PlayerToPoint(2, playerid, 2468.0845,-1542.3755,24.2068))
        {
            if(PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Vagos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um vago");}
        }
        if(PlayerToPoint(2, playerid, 1001.7416,-1463.5044,13.5518))
        {
            if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Comando Vermelho", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й do comando vermelho");}
        }
        if(PlayerToPoint(2, playerid, 1106.1790,-303.8884,73.9922))
        {
            if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Hitmans", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um hitman");}
        }
        if(PlayerToPoint(2, playerid, 2037.0458,-1402.6100,17.3058))
        {
            if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mйdicos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um medico");}
        }
        if(PlayerToPoint(2, playerid, 1083.4451,-1212.1459,17.8120))
        {
            if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Bombeiros", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um bombeiro");}
        }
        if(PlayerToPoint(2, playerid, 1509.6074,-1849.8033,13.5469))
        {
            if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Prefeitura", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й da prefeitura");}
        }
        if(PlayerToPoint(2, playerid, -1691.1339,1367.3473,7.1797))
        {
            if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Triads", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um triad");}
        }
        if(PlayerToPoint(2, playerid, 752.1580,-1358.9927,13.5000))
        {
            if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Repуrteres", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um reporter");}
        }
        if(PlayerToPoint(2, playerid, 1792.3555,-1883.1328,13.5703))
        {
            if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Taxistas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um taxista");}
        }
    }
Reply
#2

Quote:
Originally Posted by bastiga
Посмотреть сообщение
Boas, jб pedi vбrias vezes ajuda mas atй hoje ninguйm me ajudou.
O problema que estou tendo й quando logam no server 2 ou mais players os dialog's e os comandos /entrar e /sair deixam de funcionar й um pouco estranho pois quando estб apenas 1 player online funcionam perfeitamente ...
Se alguйm souber como resolver isso me fala , pois eu jб procurei por todo o lado , jб tentei dei vбrias formas resolver isso mas ainda nгo consegui resolver.
Desde jб agradeзo.

pawn Код:
if(strcmp(cmd, "/entrar", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            for(new i = 0; i < sizeof(HouseInfo); i++)
            {
                if (PlayerToPoint(2.5, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
                {
                    if(PlayerInfo[playerid][pPHousekey] == i || HouseInfo[i][hLock] == 0)
                    {
                        SetPlayerInterior(playerid,HouseInfo[i][hInt]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
                        GameTextForPlayer(playerid, "~w~Bem vindo em casa", 5000, 1);
                        PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
                        PlayerInfo[playerid][pLocal] = i;
                        HouseEntered[playerid] = i;
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                        SetPlayerVirtualWorld(playerid,HouseInfo[i][hWorld]);
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                    }
                }
            }
            for(new i = 0; i < sizeof(BizzInfo); i++)
            {
                if (PlayerToPoint(2.5, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))
                {
                    if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost])
                    {
                        if(PlayerInfo[playerid][pPbiskey] != i)
                        {
                            if(BizzInfo[i][bLocked] == 1)
                            {
                                GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                                return true;
                            }
                            GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]);
                            format(string, sizeof(string), "~r~-R$%d~n~~w~Digite /sair~n~Para poder sair!", BizzInfo[i][bEntranceCost]);
                            BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost];
                            ExtortionBiz(i, BizzInfo[i][bEntranceCost]);
                            OnPropUpdate();
                            GameTextForPlayer(playerid, string, 5000, 3);
                        }
                        SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
                        SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
                        PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior];
                        PlayerInfo[playerid][pLocal] = i+99;
                        new dood[MAX_PLAYER_NAME];
                        GetPlayerName(playerid, dood, sizeof(dood));
                        format(string, sizeof(string), "%s pagou R$%d para entrar na empresa %d", dood, BizzInfo[i][bEntranceCost], i);
                        printf("%s", string);
                        //PayLog(string);
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro suficiente", 5000, 1);
                    }
                }
            }
            for(new i = 0; i < sizeof(SBizzInfo); i++)
            {
                if (PlayerToPoint(1, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
                {
                    if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost])
                    {
                        if(PlayerInfo[playerid][pPbiskey] != i)
                        {
                            if(SBizzInfo[i][sbLocked] == 1)
                            {
                                GameTextForPlayer(playerid, "~r~Fechado", 5000, 1);
                                return true;
                            }
                            GivePlayerMoney(playerid,-SBizzInfo[i][sbEntranceCost]);
                            gSpentCash[playerid] = GetPlayerMoney(playerid);
                            SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost];
                            ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]);
                            new dood[MAX_PLAYER_NAME];
                            GetPlayerName(playerid, dood, sizeof(dood));
                            format(string, sizeof(string), "%s payed R$%d to enter sbiz %d", dood, SBizzInfo[i][sbEntranceCost], i);
                            printf("%s", string);
                            OnPropUpdate();
                        }
                    }
                    else
                    {
                        GameTextForPlayer(playerid, "~r~Voce nao tem dinheiro suficiente", 5000, 1);
                    }
                }
            }
            if (PlayerToPoint(3, playerid,1484.3788,-1777.2107,13.6554))
            {//Prefeitura
                SetPlayerInterior(playerid,3);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
                GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1);
                PlayerInfo[playerid][pInt] = 3;
                PlayerInfo[playerid][pLocal] = 241;
            }
            if (PlayerToPoint(3, playerid,2025.3307,-1402.5562,17.2106))
            {//HOSPITAL ENTRAR
                SetPlayerPos(playerid,1165.2401,-1317.4412,-0.8598);
                GameTextForPlayer(playerid, "~w~Bem vindo ao ~n~~b~Hospital !", 5000, 1);
            }
            if (PlayerToPoint(1, playerid,306.3995,-159.1051,999.5938))
            {//COFRE LOJA DE ARMAS 1 ENTRADA
                SetPlayerPos(playerid,305.05056762695,-159.16743469238,999.59375);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerInterior(playerid,6);
            }
            if (PlayerToPoint(1, playerid,301.7848,-76.6545,1001.5156))
            {//COFRE LOJA DE ARMAS 2 ENTRADA
                SetPlayerPos(playerid,301.71704101563,-75.318428039551,1001.515625);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }
            else if (PlayerToPoint(1, playerid,1570.3828,-1333.8882,16.4844))
            {
                SetPlayerPos(playerid, 1545.0068,-1366.5094,327.2868);
            }
            else if(PlayerToPoint(3, playerid,1554.9537,-1675.6584,16.1953))
            {//Departamento de Policia Los Santos
                GameTextForPlayer(playerid, "~w~Departamento da Policia Militar", 5000, 1);
                //SetPlayerVirtualWorld(playerid, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,246.5878,62.7877,1003.6406);
                PlayerInfo[playerid][pInt] = 6;
            }
            else if(PlayerToPoint(2, playerid,1434.1337,-968.4908,37.3894))
            {
                SetPlayerInterior(playerid,1);
                SetPlayerPos(playerid,2155.9976,1597.9829,999.9699);
            }
            else if (PlayerToPoint(3.0, playerid,2155.9976,1597.9829,999.9699))
            {
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1434.1337,-968.4908,37.3894);
            }
            else if(PlayerToPoint(2, playerid,2315.5200,0.3490,26.7422))
            {
                SetPlayerInterior(playerid,1);
                SetPlayerPos(playerid,2167.6201,1618.4679,999.9777);
                GameTextForPlayer(playerid, "~w~Cofre", 5000, 3);
            }
            else if (PlayerToPoint(3.0, playerid,2167.6201,1618.4679,999.9777))
            {
                GameTextForPlayer(playerid, "~w~Banco", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,2315.5200,0.3490,26.7422);
            }
            else if(PlayerToPoint(3, playerid,2244.5669,-1664.4495,15.4766))
            {//Entrada Binco
                GameTextForPlayer(playerid, "~w~Binco", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SendClientMessage(playerid, COR_GERAL, "DICA: Use /meuskin para mudar sua roupa");
                SetPlayerInterior(playerid, 1);
                SetPlayerPos(playerid,204,-49,1002);
                PlayerInfo[playerid][pInt] = 1;
            }
            else if (PlayerToPoint(3, playerid,461.3484,-1500.9084,31.0592))
            {//Entrado mercado 24/7
                SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937);
                GameTextForPlayer(playerid, "~w~VICTIM",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SendClientMessage(playerid, COR_GERAL, "DICA: Use /meuskin para mudar sua roupa");
                SetPlayerInterior(playerid,5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
            }
            else if(PlayerToPoint(3, playerid,1836.4064,-1682.4403,13.3493))
            {//Alhambra Entrance
                GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1);
                SetPlayerInterior(playerid, 17);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,493.3891,-22.7212,1000.6797);
                PlayerInfo[playerid][pInt] = 17;
            }
            else if(PlayerToPoint(3, playerid,-2281.4065,2288.4255,4.9669))
            {//ENTRADA HQ GI
                GameTextForPlayer(playerid, "~w~HQ GI", 5000, 1);
                SetPlayerInterior(playerid, 4);
                SetPlayerPos(playerid,-261,1457,1085);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(1, playerid,755.4222,-1361.7944,13.5132))
            {//Entrada Reporters HQ
                SetPlayerPos(playerid, 367.9629,194.3110,1008.3828);
                GameTextForPlayer(playerid, "~w~Hq Reporters",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
            }
            else if(PlayerToPoint(3, playerid,992.9674,-1459.9849,13.5469))
            {//ENTRADA HQ CV
                GameTextForPlayer(playerid, "~w~HQ Comando Vermelho", 5000, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,2308.5269,-1211.2737,1049.0234);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,1106.5376,-299.6835,74.5391))
            {//ENTRADA HQ ts
                GameTextForPlayer(playerid, "~w~HQ Hitmans", 5000, 1);
                SetPlayerInterior(playerid, 8);
                SetPlayerPos(playerid,-42 ,1406, 1085);
                PlayerInfo[playerid][pInt] = 8;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid, 1455.0348,749.8630,11.0234))
            {//ENTRADA HQ admin
                GameTextForPlayer(playerid, "~w~HQ Admin", 5000, 1);
                SetPlayerInterior(playerid, 3);
                SetPlayerPos(playerid,964 ,-53, 1002);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid, 229.2918,-2186.2107,1.2488))
            {//ENTRADA casa condo vip
                GameTextForPlayer(playerid, "~w~Casa Vip", 5000, 1);
                SetPlayerInterior(playerid, 2);
                SetPlayerPos(playerid,2524 ,-1285, 1055);
                PlayerInfo[playerid][pInt] = 2;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,2421.4998,-1219.2438,25.5617))
            {//Pigpen entrada
                GameTextForPlayer(playerid, "~w~The Pig Pen", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 2);
                SetPlayerPos(playerid,1205.0803,-9.9519,1000.9219);
                PlayerInfo[playerid][pInt] = 2;
            }
            else if(PlayerToPoint(3, playerid,2229.9011,-1721.2582,13.5613))
            {//Entrada Ginasio de Lutas
                GameTextForPlayer(playerid, "~w~Ginasio de Lutas", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 5);
                SetPlayerPos(playerid,771.9399,-2.2574,1000.7292);
                PlayerInfo[playerid][pInt] = 5;
            }
            else if (PlayerToPoint(3, playerid,1631.8547,-1172.5637,24.0843))
            {//Loterica entrada
                SetPlayerPos(playerid, 832.6270,7.2666,1004.1797);
                GameTextForPlayer(playerid, "~w~Loterica BKS",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
            }
            else if (PlayerToPoint(3, playerid,1200.4497,-918.7695,43.1105))
            {//Entrada Burger Shot 1
                SetPlayerPos(playerid, 366.0324,-72.6400,1001.5078);
                GameTextForPlayer(playerid, "~w~Vinewood Burger Shot",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,10);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 10;
                InAFoodPlace[playerid] = 2;
                SetPlayerCheckpoint(playerid, 376.8571,-67.6620,1001.5151, 1.0);
            }
            else if (PlayerToPoint(3, playerid,810.4855,-1616.1888,13.5469))
            {//Entrada Burger Shot 2
                SetPlayerPos(playerid, 681.5034,-452.0092,-25.6172);
                GameTextForPlayer(playerid, "~w~Marina Burger Shot",5000,1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,1);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 1;
                InAFoodPlace[playerid] = 5;
                SetPlayerCheckpoint(playerid, 683.9015,-456.7076,-25.6099, 1.0);
            }
            else if (PlayerToPoint(3, playerid,927.6217,-1353.0105,13.3438))
            {//Entrada Cluckin Bell
                SetPlayerPos(playerid, 365.7793,-9.1699,1001.8516);
                GameTextForPlayer(playerid, "~w~Cluckin Bell", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 9);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 9;
                InAFoodPlace[playerid] = 1;
                SetPlayerCheckpoint(playerid, 368.9714,-6.2486,1001.8516, 1.0);
            }
            else if (PlayerToPoint(3, playerid,2105.4858,-1806.4725,13.5547))
            {//Entrada Well Stacked Pizza
                SetPlayerPos(playerid, 372.4117,-130.4577,1001.4922);
                GameTextForPlayer(playerid, "~w~Well Stacked Pizza", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
                InAFoodPlace[playerid] = 3;
                SetPlayerCheckpoint(playerid, 375.6895,-118.9683,1001.4995, 1.5);
            }
            else if (PlayerToPoint(3, playerid,975.4691,-1335.9618,13.5319))
            {//Entrada SmK BAR

                SetPlayerPos(playerid, 377.5237,-191.6597,1000.6328);
                GameTextForPlayer(playerid, "~w~BKS's Bar", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 17);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 17;
                InAFoodPlace[playerid] = 4;
                SetPlayerCheckpoint(playerid, 379.0611,-186.6032,1000.6328, 1.0);
            }
            else if(PlayerToPoint(3, playerid,1833.6124,-1842.4968,13.5781))
            {//24/7 estaзгo entrada
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 1;
            }
            else if(PlayerToPoint(3, playerid,1000.5861,-919.8832,42.3281))
            {//24/7 gas station entrance
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerInterior(playerid, 4);
                SetPlayerPos(playerid,-28.2619,-26.2015,1003.5573);
                PlayerInfo[playerid][pInt] = 4;
            }
            else if(PlayerToPoint(3, playerid,1928.6006,-1776.4480,13.5469))
            {//24/7 lado hq pcc
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerInterior(playerid, 16);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,-25.1326,-139.0670,1003.5469);
                PlayerInfo[playerid][pInt] = 16;
            }
            else if (PlayerToPoint(3, playerid, 1315.5110,-898.9860,39.5781))
            {//24/7 perto madd dogg
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 2;
            }
            else if (PlayerToPoint(3, playerid, 1352.4357,-1759.0243,13.5078))
            {//24/7 praзa dp
                GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 18);
                SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469);
                PlayerInfo[playerid][pInt] = 18;
                storeexit[playerid] = 3;
            }
            else if (PlayerToPoint(3, playerid,2480.9678,-1536.6002,24.1730))
            {//HQ VAGOS
                SetPlayerPos(playerid, 2350.6013,-1180.7566,1027.9766);
                GameTextForPlayer(playerid, "~w~HQ Los Vagos",5000,1);
                SetPlayerInterior(playerid,5);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 5;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3, playerid,327.8898,-1511.8446,36.0325))
            {//Entrada HQ BOPE
                GameTextForPlayer(playerid, "~w~DP Rotam", 5000, 1);
                SetPlayerInterior(playerid, 10);
                SetPlayerPos(playerid,246.4631,110.1669,1003.2257);
                PlayerInfo[playerid][pInt] = 10;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3, playerid,988.6390,-1356.8457,13.5530))
            {//PF Entrada
                SetPlayerPos(playerid, 238.7194,141.7792,1003.0234);
                GameTextForPlayer(playerid, "~w~DP Policia Civil",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3, playerid,2263.5852,-1458.9557,24.0085))
            {//ENTRADA HQ BALLAS
                GameTextForPlayer(playerid, "~w~HQ Ballas", 5000, 1);
                SetPlayerInterior(playerid, 10);
                SetPlayerPos(playerid,2268.3950,-1210.5328,1047.7491);
                PlayerInfo[playerid][pInt] = 10;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3, playerid,2495.3481,-1691.1355,14.7656))
            {//HQ Groove Street Entrada
                SetPlayerPos(playerid,2496.0061,-1693.5201,1014.7422);
                GameTextForPlayer(playerid, "~g~Groove Street HQ",5000,1);
                SetPlayerInterior(playerid,3);
                SetPlayerFacingAngle(playerid, 181);
                PlayerInfo[playerid][pInt] = 3;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3, playerid,-1681.9230,1350.5095,7.1722))
            {//ENTRADA HQ TriadS
                GameTextForPlayer(playerid, "~w~HQ Triads", 5000, 1);
                SetPlayerInterior(playerid, 6);
                SetPlayerPos(playerid,345.0741,305.5558,999.1484);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        return 1;
    }
    if(strcmp(cmd, "/sair", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            for(new i = 0; i <  sizeof(HouseInfo); i++)
            {
                if (PlayerToPoint(1, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
                {
                    if(HouseEntered[playerid] == i)
                    {
                        SetPlayerInterior(playerid,0);
                        SetPlayerVirtualWorld(playerid,0);
                        SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
                        PlayerInfo[playerid][pInt] = 0;
                        SetPlayerVirtualWorld(playerid, 0);
                        PlayerInfo[playerid][pLocal] = 255;
                        HouseEntered[playerid] = 255;
                        return true;
                    }
                }
            }
            for(new i = 0; i <  sizeof(BizzInfo); i++)
            {
                if (PlayerToPoint(1, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
                {
                    SetPlayerInterior(playerid,0);
                    PlayerInfo[playerid][pInt] = 0;
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
                    PlayerInfo[playerid][pLocal] = 255;
                    return true;
                }
            }
            if(GetPlayerVehicleID(playerid) >= 1)
            {
                Controle(playerid, 1);
            }
            else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109))
            {
                SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844);
            }
            else if (PlayerToPoint(3.0, playerid,387.7978,173.8582,1008.3828))
            {//Saida Prefeitura
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1484.3788,-1777.2107,13.6554);
                Controle(playerid, 1);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,1161.5105,-1316.5150,-0.8598))
            {//Saida Hospital
                SetPlayerPos(playerid,2025.3307,-1402.5562,17.2106);
                GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
            }
            if (PlayerToPoint(1, playerid,305.05056762695,-159.16743469238,999.59375))
            {//COFRE LOJA DE ARMAS 1 SAIDA
                SetPlayerPos(playerid,306.3995,-159.1051,999.5938);
                PlayerInfo[playerid][pInt] = 6;
                SetPlayerInterior(playerid,6);
            }
            if (PlayerToPoint(1, playerid,301.71704101563,-75.318428039551,1001.515625))
            {//COFRE loja de armas 2 SAIDA
                SetPlayerPos(playerid,301.7848,-76.6545,1001.5156);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }
            if(PlayerToPoint(3.0, playerid,246.5878,62.7877,1003.6406))
            {//Saida Departamento de Policia Los Santos
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1554.9537,-1675.6584,16.1953);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3.0, playerid, 204,-49, 1002))
            {//Saida Binco
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2244.5669,-1664.4495,15.4766);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(2.0, playerid,226.293991,-7.431529,1002.210937))
            {//Saido mercado 24/7
                SetPlayerPos(playerid, 459.1313,-1501.1628,31.0392);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,493.3891,-22.7212,1000.6797))
            {//Saida Alhambra
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,1836.4064,-1682.4403,13.3493);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,1205.0803,-9.9519,1000.9219))
            {//saida pigpen
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2421.4998,-1219.2438,25.5617);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,771.9399,-2.2574,1000.7292))
            {//Saida Ginasio de Lutas
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2229.9011,-1721.2582,13.5613);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(1, playerid,367.9629,194.3110,1008.3828))
            {//Reporter Hq
                SetPlayerPos(playerid, 755.4222,-1361.7944,13.5132);
                GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else if (PlayerToPoint(3.0, playerid,832.6270,7.2666,1004.1797))
            {//Loterica saida
                SetPlayerPos(playerid, 1631.8547,-1172.5637,24.084);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,366.0324,-72.6400,1001.5078))
            {//Entrada Burger Shot 1
                SetPlayerPos(playerid, 1200.4497,-918.7695,43.1105);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,681.5034,-452.0092,-25.6172))
            {//Saida Burger Shot 2
                SetPlayerPos(playerid, 810.4855,-1616.1888,13.5469);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,365.7793,-9.1699,1001.8516))
            {//Saida Cluckin Bell
                SetPlayerPos(playerid, 927.6217,-1353.0105,13.3438);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,372.4117,-130.4577,1001.4922))
            {//Saida Well Stacked Pizza
                SetPlayerPos(playerid, 2105.4858,-1806.4725,13.5547);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,377.5237,-191.6597,1000.6328))
            {//Saida SmK BAR

                SetPlayerPos(playerid, 975.4691,-1335.9618,13.5319);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-30.9891,-91.5607,1003.5469))
            {
                if (storeexit[playerid] == 1)
                {//24/7 estaзгo saida
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1833.6124,-1842.4968,13.5781);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 2)
                {//perto madd dogg
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1315.5110,-898.9860,39.5781);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 3)
                {//praзa dp
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,1352.4357,-1759.0243,13.5078);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 4)
                {//dillimore
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,824.0099,-557.3440,16.3359);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
                else if(storeexit[playerid] == 5)
                {//dillimore
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,2422.1165,-1740.3470,13.5469);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    storeexit[playerid] = 0;
                }
            }
            else if(PlayerToPoint(3.0, playerid,-28.2619,-26.2015,1003.5573))
            {//24/7 gas station saida
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1000.5861,-919.8832,42.3281);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if(PlayerToPoint(3.0, playerid,-25.1326,-139.0670,1003.5469))
            {//24/7 lado hq pcc saida
                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid,1928.6006,-1776.4480,13.5469);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,2350.6013,-1180.7566,1027.9766))
            {//SAIDA HQ VAGOS
                SetPlayerPos(playerid, 2480.9678,-1536.6002,24.1730);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(3.0, playerid,246.4631,110.1669,1003.2257))
            {//Saida HQ BOPE
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,327.8898,-1511.8446,36.0325);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,238.7194,141.7792,1003.0234))
            {//Saida PF
                SetPlayerPos(playerid, 988.6390,-1356.8457,13.5530);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2268.3950,-1210.5328,1047.7491))
            {//SAIDA HQ BALLAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2263.5852,-1458.9557,24.0085);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,374.5317,-2055.1924,8.0156))
            {//ENTRADA HQ AZTECAS
                GameTextForPlayer(playerid, "~w~HQ Los Aztecas", 5000, 1);
                SetPlayerInterior(playerid, 8);
                SetPlayerPos(playerid,2807.8213,-1173.5691,1025.5703);
                PlayerInfo[playerid][pInt] = 8;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2807.8213,-1173.5691,1025.5703))
            {//SAIDA HQ AZTECAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,374.5317,-2055.1924,8.0156);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,2496.0061,-1693.5201,1014.7422))
            {//HQ Groove Street Saida
                SetPlayerPos(playerid,2495.3481,-1691.1355,14.7656);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            if(PlayerToPoint(3.0, playerid,345.0741,305.5558,999.1484))
            {//SAIDA HQ TriadS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,-1681.9230,1350.5095,7.1722);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-261,1457,1085))
            {//SAIDA HQ gi
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,-2281.4065,2288.4255,4.9669);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2308.5269,-1211.2737,1049.0234))
            {//SAIDA HQ CV
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,992.9674,-1459.9849,13.5469);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,-42 ,1406, 1085))
            {//SAIDA HQ ts
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1106.5376,-299.6835,74.5391);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,964 ,-53, 1002))
            {//SAIDA HQ admin
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1455.0348,749.8630,11.0234);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3.0, playerid,2524 ,-1285, 1055))
            {//SAIDA HQ bloodz
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,229.2918,-2186.2107,1.2488);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
        }
        return 1;
    }
pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        OnPlayerCommandText(playerid,"/entrar");
        OnPlayerCommandText(playerid,"/sair");
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, 1642.3599,-2238.1589,13.4979) || IsPlayerInRangeOfPoint(playerid, 2.0, -1421.4819,-287.3259,14.1484) || IsPlayerInRangeOfPoint(playerid, 2.0, 1673.2532,1447.8350,10.7860))
        {
            OnPlayerCommandText(playerid,"/viajar");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2,playerid,2249.8088,-2257.7874,14.7647))
        {
            OnPlayerCommandText(playerid,"/vendermadeira");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2,playerid,1450.0607,-1965.0198,29.8656))
        {
            OnPlayerCommandText(playerid,"/cortarmadeira");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, -1695.3196,1355.9562,7.1797))
        {
            OnPlayerCommandText(playerid,"/dTriad");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 2146.3818,1632.4958,993.5761))
        {
            OnPlayerCommandText(playerid,"/ptbanco");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 1097.9315,-311.2839,73.9922))
        {
            OnPlayerCommandText(playerid,"/dHit");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(1.5,playerid,2224.1484,-1141.8772,1025.7969) || PlayerToPoint(1.0,playerid,1929.5409,-1785.1664,13.5469) || PlayerToPoint(1.0,playerid,2232.2886,-1162.6107,25.8906) || PlayerToPoint(1.0,playerid,1550.4796,-1669.7039,13.5624) || PlayerToPoint(1.5,playerid,957.4803,-48.7381,1001.1172)
        || PlayerToPoint(1.5,playerid,-1347.6376,499.9476,11.1953) || PlayerToPoint(1.5, playerid,2308.7908,-13.2499,26.7422) || PlayerToPoint(1.5,playerid,1468.6473,-1767.3595,18.7958) || PlayerToPoint(1.5,playerid,648.8112,-520.1576,16.3359))
        {
            OnPlayerCommandText(playerid,"/banco");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 361.8300,173.5202,1008.3828))
        {
            OnPlayerCommandText(playerid,"/getemprego");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2, playerid, 1490.2411,1307.2179,1093.2891))
        {
            OnPlayerCommandText(playerid,"/licencas");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (InAFoodPlace[playerid] != 0)
        {
            if(PlayerToPoint(1.5,playerid,368.9714,-6.2486,1001.8516))
            {
                ShowPlayerDialog(playerid, 28, DIALOG_STYLE_LIST, "Cluckin' Bell", "Coraзгo no Espeto R$2\nCarne de Vaca R$4\nCarne de Jacarй R$5\nCarne de Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,368.9714,-6.2486,1001.8516);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,376.8571,-67.6620,1001.5151) || PlayerToPoint(1.5,playerid,683.9015,-456.7076,-25.6099))
            {
                ShowPlayerDialog(playerid, 29, DIALOG_STYLE_LIST, "Burger Shot", "X-Simples R$2\nX-Tudo R$4\nX-Especial R$5\nX-Frango R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,376.8571,-67.6620,1001.5151);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,375.6895,-118.9683,1001.4995))
            {
                ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "Well Stacked Pizza", "Presunto e Mussarela - Pequena R$2\nPresunto e Mussarela - Grande R$4\nFrango e Azeitona R$5\nBacon e Chocolate R$3\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,375.6895,-118.9683,1001.4995);
                SetPlayerFacingAngle(playerid, 357.0132);
            }
            if(PlayerToPoint(1.5,playerid,379.0611,-186.6032,1000.6328))
            {
                ShowPlayerDialog(playerid, 31, DIALOG_STYLE_LIST, "Jim's sticky ring", "Rosquinha Pequena R$2\nRosquinha Normal R$4\nRosquinha de Chefe R$5\nSuper Rosquinha R$4\nAgua R$1\nSuco R$1", "Selecionar", "Cancelar");
                SetPlayerPos(playerid,379.0611,-186.6032,1000.6328);
                SetPlayerFacingAngle(playerid, 280);
            }
            SetCameraBehindPlayer(playerid);
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2.0, playerid, 312.2183,-165.9908,999.6010) || PlayerToPoint(2.0, playerid, 296.4907,-80.6641,1001.5156))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "Loja de Armas", "Kitvip\nEagle\nMP5\nShotgun\nAk-47\nM4\nRifle", "Confirmar", "Cancelar");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, 768.2192,-3.9873,1000.7203))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, DIALOGID2, DIALOG_STYLE_LIST, "BKS Estilos De Luta", "Cotoveladas\nBoxe\nRua\nKickBoxing\nKarate\nNormal", "confirma", "Cancela");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2.0, playerid, 2152.4727,-1014.0005,62.8375) || PlayerToPoint(2.0, playerid, 1450.4479,-2287.0803,13.5469) || PlayerToPoint(2.0, playerid, 1919.1384,-1415.4775,13.5703) || PlayerToPoint(2.0, playerid, 1123.7664,-1506.4692,15.7869))
        {
            if (PlayerInfo[playerid][pEmprego] == 4)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 2572, DIALOG_STYLE_LIST, "Pegar Drogas", "Pegar Maconha\nPegar Cocaina\nPegar Crack\nEsconder Maconha\nEsconder Cocaina\nEsconder Crack\nPegar Safe Maconha\nPegar Safe Cocaina\nPegar Safe Crack", "Confirma", "Cancela");
            }
            else
            {
                SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um vendedor de drogas");
            }
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if (PlayerToPoint(2.0, playerid, 1524.4977,-1677.9469,6.2188) || PlayerToPoint(2.0, playerid, 1565.1235,-1666.9944,28.3956) || PlayerToPoint(2.0, playerid, 246.2975,87.4735,1003.6406))
        {
            Controle(playerid, 0);
            ShowPlayerDialog(playerid, 2585, DIALOG_STYLE_LIST, "Elevador", "Garagem\nDepartamento\nCobertura", "Confirma", "Cancela");
        }
    }
    if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        if(PlayerToPoint(2, playerid, 1530.0956,-1661.4786,6.2188)/*Pm*/ || PlayerToPoint(2, playerid, 319.8195,-1523.7803,36.0391)/*Rotam*/ || PlayerToPoint(2, playerid, -1522.2317,462.0333,7.1875)/*gn*/
        || PlayerToPoint(2, playerid, 988.4385,-1365.6866,13.5591)/*PF*/)
        {
            if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Polнcia Militar", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Rotam", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Exйrcito", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Polнcia Federal", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um cop");}
        }
        if(PlayerToPoint(2, playerid, -2237.0938,2354.3518,4.9799))
        {
            if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre GI", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um guerrelheiro");}
        }
        if(PlayerToPoint(2, playerid, 400.0511,2539.3369,16.5448))
        {
            if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre F.A.R.C", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um farc");}
        }
        if(PlayerToPoint(2, playerid, 371.4085,-2051.8748,8.0156))
        {
            if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Aztecas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um azteca");}
        }
        if(PlayerToPoint(2, playerid, 1379.2527,-1641.8179,13.5469))
        {
            if(PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mecanicos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um mecanico");}
        }
        if(PlayerToPoint(2, playerid, 2522.9050,-1679.2809,15.4970))
        {
            if(PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Groove Street", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um groove");}
        }
        if(PlayerToPoint(2, playerid, 2268.1353,-1458.3593,23.6998))
        {
            if(PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Ballas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um balla");}
        }
        if(PlayerToPoint(2, playerid, 2468.0845,-1542.3755,24.2068))
        {
            if(PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Vagos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um vago");}
        }
        if(PlayerToPoint(2, playerid, 1001.7416,-1463.5044,13.5518))
        {
            if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Comando Vermelho", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й do comando vermelho");}
        }
        if(PlayerToPoint(2, playerid, 1106.1790,-303.8884,73.9922))
        {
            if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Hitmans", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um hitman");}
        }
        if(PlayerToPoint(2, playerid, 2037.0458,-1402.6100,17.3058))
        {
            if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Mйdicos", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um medico");}
        }
        if(PlayerToPoint(2, playerid, 1083.4451,-1212.1459,17.8120))
        {
            if(PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Bombeiros", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um bombeiro");}
        }
        if(PlayerToPoint(2, playerid, 1509.6074,-1849.8033,13.5469))
        {
            if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Prefeitura", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й da prefeitura");}
        }
        if(PlayerToPoint(2, playerid, -1691.1339,1367.3473,7.1797))
        {
            if(PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Triads", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um triad");}
        }
        if(PlayerToPoint(2, playerid, 752.1580,-1358.9927,13.5000))
        {
            if(PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Repуrteres", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um reporter");}
        }
        if(PlayerToPoint(2, playerid, 1792.3555,-1883.1328,13.5703))
        {
            if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
            {
                Controle(playerid, 0);
                ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Cofre Taxistas", "Lista de Membros\nAdministrar Membros\nAdministrar Gang/Org\nInformaзхes\nArmas e Drogas\nEquipar", "Confirmar", "Cancelar");
            }
            else{SendClientMessage(playerid, COR_GERAL, "  Vocк nгo й um taxista");}
        }
    }
Por que tantos
pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {


Poderia ter feito tudo em um so, dentro da funзгo, vocк fez vбrios if's iguais,
Reply
#3

Jб tentei colocar tb em 1 so if mas nao funciona ...
Entao tentei 1 if para cada acao mas nao resultou
Ajuda PFF!
Reply
#4

Quote:
Originally Posted by bastiga
Посмотреть сообщение
Jб tentei colocar tb em 1 so if mas nao funciona ...
Entao tentei 1 if para cada acao mas nao resultou
Ajuda PFF!
Pensa comigo, tenho 1 caminhгo pra levar 10 pessoas para o outro lado,

so que ao invйs de eu colocar as 10 pessoas no camiinhгo, eu resolvo colocar 1 pessoa em cada caminhгo , para fazer a mesma coisa,

Pensa comigo, qual vocк iria gastar mais com Oleo Diesel ?

Acho que deu pra intender neh
Reply
#5

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
Por que tantos
pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {


Poderia ter feito tudo em um so, dentro da funзгo, vocк fez vбrios if's iguais,
Faзo a mesma pergunta.
Reply
#6

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
Pensa comigo, tenho 1 caminhгo pra levar 10 pessoas para o outro lado,

so que ao invйs de eu colocar as 10 pessoas no camiinhгo, eu resolvo colocar 1 pessoa em cada caminhгo , para fazer a mesma coisa,

Pensa comigo, qual vocк iria gastar mais com Oleo Diesel ?

Acho que deu pra intender neh
Na boa, paguei um pau pra mim mesmo na minha explicaзгo agora o.o'
Reply
#7

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
Na boa, paguei um pau pra mim mesmo na minha explicaзгo agora o.o'
to vendo o.o dava pra ser um pouco mais especifico.
Reply
#8

sim deu pra entender o que vc falou mais, o meu problema nesse momento й outro, alguem sabe o que fazer?
й que ao apertar "F" com mais de 1 player online deixa de funfar, nao sei o que podera ser
Reply
#9

Alguma me pode ajudar?
Reply
#10

uma loolp verificando o max de players e fazendo funcionar para todos eles
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)