[PEDIDO] Comando de Sair do Carro
#1

Bom ao acabar a Gasolina do Carro o cmd /sair nao funfa olhei bem o cmd e nao tem o cmd para sair do carro

Bem venho pedir a Vocкs um Cmd de Sair Do carro
Aki o inicio do /sair (o resto й tudo saida de Orgs, etc)
pawn Код:
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)
            if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
            {
                Controle(playerid, 1);
                RemovePlayerFromVehicle(playerid);
            }
            else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109))
            {
                SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844);
            }
Agradeзo a Ajuda
++RЈPp
Reply
#2

Utilize a funзгo "RemovePlayerFromVehicle"

Ps, poste o comando completo.
Reply
#3

Aqui esta o CMD inteiro

pawn Код:
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)
            if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
            {
                Controle(playerid, 1);
                RemovePlayerFromVehicle(playerid);
            }
            else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109))
            {
                SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844);
            }
            else if (PlayerToPoint(2.0, playerid,390.4640,173.8098,1008.3828))
            {//Saida Prefeitura
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1481.2550,-1765.8638,18.7958);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }

            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 Ammu Nation SAIDA
                SetPlayerPos(playerid,301.7848,-76.6545,1001.5156);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }

            else if(PlayerToPoint(1.0, playerid,-2027.0715,-103.6059,1035.1818))
            {//SAIDA D.E.T.R.AN
                SetPlayerPos(playerid,952.5583,-909.3518,45.7656);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerInterior(playerid, 0);
            }

            if(PlayerToPoint(2.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,2147.7161,1603.5366,1006.1677))
            {
                GameTextForPlayer(playerid, "~w~Banco", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,2315.5200,0.3490,26.7422);
            }
            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(3.0, playerid,207.7336,-108.6231,1005.1328))
            {//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(3.0, playerid,161.3350,-95.0194,1001.8047))
            {//Saida ZIP
                SetPlayerPos(playerid, 1456.9010,-1137.6941,23.9617);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,226.293991,-7.431529,1002.210937))
            {//Saida VICTIM
                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(1.0, playerid,501.8770,-67.7092,998.7578))
            {
                if (barexit[playerid] == 1)
                {//HQ Sons of Anarchy
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerFacingAngle(playerid, 177.9001);
                    SetPlayerPos(playerid,681.5621,-473.8558,16.5363);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    barexit[playerid] = 0;
                }
                else if(barexit[playerid] == 2)
                {//BAR PERTO DA GROOVE
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerFacingAngle(playerid, 130.5600);
                    SetPlayerPos(playerid,2309.7676,-1643.7872,14.8270);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    barexit[playerid] = 0;
                }
            }
            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(2.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(2.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(2.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(2.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(2.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(2.0, playerid,365.7793,-9.1699,1001.8516))
            {
                if (InAFoodPlace[playerid] == 1)
                {//clukin
                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(InAFoodPlace[playerid] == 7)
                {//perto da groove
                SetPlayerPos(playerid, 2419.8442,-1509.4996,24.0000);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                }
            }
            else if (PlayerToPoint(2.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(2.0, playerid,377.5237,-191.6597,1000.6328))
            {
            //SaidaLanchonete

                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;
            }
//=-=-=-=-=-=-=-=-=| SAНDAS 24/7'S |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            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)
                {//groove
                    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(1.0, playerid,-27.2584,-31.6446,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;
            }

//=-=-=-=-=-=-=-=-=| HOTEL SAНDA |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            else if (PlayerToPoint(3.0, playerid,2228.4087,-1150.5686,1025.7969))
            {
                //Hotel Saida
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2190.1182,-1179.7944,1033.7896))
            {
                //Hotel Saida 2
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2238.9316,-1192.4878,1033.7969))
            {
                //Hotel Saida 3
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2193.3254,-1138.6238,1029.7969))
            {
                //Hotel Saida 4
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
//=-=-=-=-=-=-=-=-=| SAНDA HQ'S DAS ORGANIZAЗХES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            else if (PlayerToPoint(1.0, playerid,-2171.3071,645.2919,1057.5938))
            {//SAIDA HQ Mбfia Yakuza
                SetPlayerPos(playerid, 691.5710,-1276.1722,13.5607);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(1.0, playerid,-2636.6687,1402.7887,906.4609))
            {//SAIDA Mбfia Cosa Nostra
                SetPlayerPos(playerid, 300.2393,-1154.4464,81.3910);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(2.0, playerid,238.6815,138.6710,1003.0234))
            {
            //Saida PC
                SetPlayerPos(playerid, 918.9910,-1252.1665,16.2109);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(2.0, playerid,246.3772,107.4653,1003.2188))
            {//Saida HQ BOPE
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,327.9436,-1512.2135,36.0325);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(2.0, playerid,322.0765,303.8634,999.1484))
            {
            //Saida PF
                SetPlayerPos(playerid, -49.8844,-269.3635,6.6332);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(2.0, playerid,2270.1592,-1210.4899,1047.5625))
            {//SAIDA HQ BALLAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1154.5570,-1180.6460,32.8187);
                SetPlayerFacingAngle(playerid, 82.4074);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(2.0, playerid,1674.1207,-2121.9700,14.1460))
            {//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(1.0, playerid,2807.5945,-1174.6881,1025.5703))
            {//SAIDA HQ AZTECAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1674.1207,-2121.9700,14.1460);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(1.0, playerid,2496.0398,-1692.0844,1014.7422))
            {
            //HQ Groove Street Saida
                SetPlayerPos(playerid,2495.2939,-1690.3051,14.7656);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 4.0967);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            if(PlayerToPoint(1.0, playerid,343.7183,304.9376,999.1484))
            {//SAIDA HQ HITMANS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,957.9416,-1556.2628,13.5802);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            /*else if(PlayerToPoint(3.0, playerid,2237.4758,-1079.5092,1049.0234))
            {//SAIDA HQ PCC
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,967.2544,2175.1235,10.8203);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }*/

            else if(PlayerToPoint(1.0, playerid,2308.5269,-1211.2737,1049.0234))
            {//SAIDA HQ CV
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2140.9382,-1801.9813,16.1475);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(1.0, playerid,295.1739,1472.2755,1080.2578))
            {//SAIDA HQ VAGOS
                SetPlayerPos(playerid, 2808.1106,-1189.6528,25.3436);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            //=========================[FIM SAIDAS HQ ORGANIZAЗХES]=========================//
        }
        return true;
    }
Reply
#4

pawn Код:
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(IsPlayerInVehicle(playerid)) RemovePlayerFromVehicle(playerid);
            if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
            {
                Controle(playerid, 1);
                RemovePlayerFromVehicle(playerid);
            }
            else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109))
            {
                SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844);
            }
            else if (PlayerToPoint(2.0, playerid,390.4640,173.8098,1008.3828))
            {//Saida Prefeitura
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1481.2550,-1765.8638,18.7958);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }

            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 Ammu Nation SAIDA
                SetPlayerPos(playerid,301.7848,-76.6545,1001.5156);
                PlayerInfo[playerid][pInt] = 4;
                SetPlayerInterior(playerid,4);
            }

            else if(PlayerToPoint(1.0, playerid,-2027.0715,-103.6059,1035.1818))
            {//SAIDA D.E.T.R.AN
                SetPlayerPos(playerid,952.5583,-909.3518,45.7656);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerInterior(playerid, 0);
            }

            if(PlayerToPoint(2.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,2147.7161,1603.5366,1006.1677))
            {
                GameTextForPlayer(playerid, "~w~Banco", 5000, 1);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,2315.5200,0.3490,26.7422);
            }
            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(3.0, playerid,207.7336,-108.6231,1005.1328))
            {//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(3.0, playerid,161.3350,-95.0194,1001.8047))
            {//Saida ZIP
                SetPlayerPos(playerid, 1456.9010,-1137.6941,23.9617);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(3.0, playerid,226.293991,-7.431529,1002.210937))
            {//Saida VICTIM
                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(1.0, playerid,501.8770,-67.7092,998.7578))
            {
                if (barexit[playerid] == 1)
                {//HQ Sons of Anarchy
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerFacingAngle(playerid, 177.9001);
                    SetPlayerPos(playerid,681.5621,-473.8558,16.5363);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    barexit[playerid] = 0;
                }
                else if(barexit[playerid] == 2)
                {//BAR PERTO DA GROOVE
                    SetPlayerVirtualWorld(playerid, 0);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerFacingAngle(playerid, 130.5600);
                    SetPlayerPos(playerid,2309.7676,-1643.7872,14.8270);
                    PlayerInfo[playerid][pInt] = 0;
                    PlayerInfo[playerid][pLocal] = 255;
                    barexit[playerid] = 0;
                }
            }
            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(2.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(2.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(2.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(2.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(2.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(2.0, playerid,365.7793,-9.1699,1001.8516))
            {
                if (InAFoodPlace[playerid] == 1)
                {//clukin
                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(InAFoodPlace[playerid] == 7)
                {//perto da groove
                SetPlayerPos(playerid, 2419.8442,-1509.4996,24.0000);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                InAFoodPlace[playerid] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                }
            }
            else if (PlayerToPoint(2.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(2.0, playerid,377.5237,-191.6597,1000.6328))
            {
            //SaidaLanchonete

                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;
            }
//=-=-=-=-=-=-=-=-=| SAНDAS 24/7'S |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            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)
                {//groove
                    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(1.0, playerid,-27.2584,-31.6446,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;
            }

//=-=-=-=-=-=-=-=-=| HOTEL SAНDA |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            else if (PlayerToPoint(3.0, playerid,2228.4087,-1150.5686,1025.7969))
            {
                //Hotel Saida
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2190.1182,-1179.7944,1033.7896))
            {
                //Hotel Saida 2
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2238.9316,-1192.4878,1033.7969))
            {
                //Hotel Saida 3
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(3.0, playerid,2193.3254,-1138.6238,1029.7969))
            {
                //Hotel Saida 4
                SetPlayerPos(playerid, 2231.7896,-1159.8646,25.8906);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
//=-=-=-=-=-=-=-=-=| SAНDA HQ'S DAS ORGANIZAЗХES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<|
            else if (PlayerToPoint(1.0, playerid,-2171.3071,645.2919,1057.5938))
            {//SAIDA HQ Mбfia Yakuza
                SetPlayerPos(playerid, 691.5710,-1276.1722,13.5607);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(1.0, playerid,-2636.6687,1402.7887,906.4609))
            {//SAIDA Mбfia Cosa Nostra
                SetPlayerPos(playerid, 300.2393,-1154.4464,81.3910);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else if (PlayerToPoint(2.0, playerid,238.6815,138.6710,1003.0234))
            {
            //Saida PC
                SetPlayerPos(playerid, 918.9910,-1252.1665,16.2109);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            if(PlayerToPoint(2.0, playerid,246.3772,107.4653,1003.2188))
            {//Saida HQ BOPE
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,327.9436,-1512.2135,36.0325);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(2.0, playerid,322.0765,303.8634,999.1484))
            {
            //Saida PF
                SetPlayerPos(playerid, -49.8844,-269.3635,6.6332);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(2.0, playerid,2270.1592,-1210.4899,1047.5625))
            {//SAIDA HQ BALLAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1154.5570,-1180.6460,32.8187);
                SetPlayerFacingAngle(playerid, 82.4074);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(2.0, playerid,1674.1207,-2121.9700,14.1460))
            {//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(1.0, playerid,2807.5945,-1174.6881,1025.5703))
            {//SAIDA HQ AZTECAS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,1674.1207,-2121.9700,14.1460);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(1.0, playerid,2496.0398,-1692.0844,1014.7422))
            {
            //HQ Groove Street Saida
                SetPlayerPos(playerid,2495.2939,-1690.3051,14.7656);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 4.0967);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            if(PlayerToPoint(1.0, playerid,343.7183,304.9376,999.1484))
            {//SAIDA HQ HITMANS
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,957.9416,-1556.2628,13.5802);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            /*else if(PlayerToPoint(3.0, playerid,2237.4758,-1079.5092,1049.0234))
            {//SAIDA HQ PCC
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,967.2544,2175.1235,10.8203);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }*/

            else if(PlayerToPoint(1.0, playerid,2308.5269,-1211.2737,1049.0234))
            {//SAIDA HQ CV
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2140.9382,-1801.9813,16.1475);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pLocal] = 255;
            }
            else if (PlayerToPoint(1.0, playerid,295.1739,1472.2755,1080.2578))
            {//SAIDA HQ VAGOS
                SetPlayerPos(playerid, 2808.1106,-1189.6528,25.3436);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
                PlayerInfo[playerid][pLocal] = 255;
                SetPlayerVirtualWorld(playerid, 0);
            }
            //=========================[FIM SAIDAS HQ ORGANIZAЗХES]=========================//
        }
        return true;
    }
Vo dormi abs.
Reply
#5

vo testa aki mas ja agradeзo por ta respondendo a essa hora
++REP
Reply
#6

Deu Warning aki

PHP код:
if(IsPlayerInVehicle(playerid)) RemovePlayerFromVehicle(playerid); 
o Warning

PHP код:
number of arguments does not match definition 
Reply
#7

pawn Код:
if(IsPlayerInAnyVehicle(playerid)) RemovePlayerFromVehicle(playerid);
Reply
#8

Vou testa
Brigado por tenta ajuda Luigi
Reply
#9

Nгo й lб grande ajuda, mesmo assim de nada...

https://sampwiki.blast.hk/wiki/IsPlayerInAnyVehicle

Dк uma olhada, abraзos.
Reply
#10

Vlw cara muito obrigado deu certo agr ele sai do carro, mas o ъnico problema que ele sai mas ele fica travado nao anda nem se mexe =/
OBS* mas ele sai do carro.

Pode me ajudar
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)