09.12.2014, 00:53
EAEEEEEEEEEEEEEEEEEEEEE GALERA sou meio novato em pawno queria muito a ajuda de vocкs queria fazer uma DP em SF com o mesmo interior da de los santos quem puder me ajudar, ficarei grato!!
olha como estгo todas
e sу a DP
acho que й isto! por favor me ajudem galera ☻
olha como estгo todas
Код:
if (PlayerToPoint(2, playerid,1481.0386,-1772.3120,18.7958)){//Prefeitura LS(Commerce) SetPlayerInterior(playerid,3); //localizarprefeitura[playerid] = 1; SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid,387.7978,173.8582,1008.3828); XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; if(PlayerInfo[playerid][pEmprego] == 0 && PlayerInfo[playerid][pConnectTime] < 5) { TutorialPrefeitura(playerid); } storeexit[playerid] = 1717; //PlayerInfo[playerid][pLocal] = 241;} } if (PlayerToPoint(3, playerid,2793.6682,-1087.5436,30.7188)){//Prefeitura LS(East Beach) SetPlayerInterior(playerid,3); //localizarprefeitura[playerid] = 1; SetPlayerVirtualWorld(playerid, 2); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,387.7978,173.8582,1008.3828); XXAirBreak[playerid] += 3; if(PlayerInfo[playerid][pEmprego] == 0 && PlayerInfo[playerid][pConnectTime] < 5) { TutorialPrefeitura(playerid); } GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; storeexit[playerid] = 2589; //PlayerInfo[playerid][pLocal] = 241;} } if (PlayerToPoint(2, playerid,-2720.1074,-318.5733,7.8438)){//Prefeitura SF(Country Club) SetPlayerInterior(playerid,3); //localizarprefeitura[playerid] = 1; SetPlayerVirtualWorld(playerid, 1); XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,387.7978,173.8582,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; if(PlayerInfo[playerid][pEmprego] == 0 && PlayerInfo[playerid][pConnectTime] < 5) { TutorialPrefeitura(playerid); } storeexit[playerid] = 1718; //PlayerInfo[playerid][pLocal] = 241;} } if (PlayerToPoint(2, playerid,-1882.6202,824.2709,35.1751)){//Prefeitura SF (Downtown) SetPlayerInterior(playerid,3); //localizarprefeitura[playerid] = 1; SetPlayerVirtualWorld(playerid, 3); XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,387.7978,173.8582,1008.3828); GameTextForPlayer(playerid, "~w~Bem vindo a ~n~~b~Prefeitura !", 5000, 1); PlayerInfo[playerid][pInt] = 3; if(PlayerInfo[playerid][pEmprego] == 0 && PlayerInfo[playerid][pConnectTime] < 5) { TutorialPrefeitura(playerid); } storeexit[playerid] = 1719; //PlayerInfo[playerid][pLocal] = 241;} } //Sex Shop if (PlayerToPoint(3, playerid,1412.0570,-1700.0341,13.5395)) { if(PlayerInfo[playerid][pAge] < 18) { SendClientMessage(playerid, COLOR_WHITE, "[ERRO] Vocк precisa ter mais de 18 anos para entrar em um SexShop!"); return true; } XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-100.3403,-24.6412,1000.7188); GameTextForPlayer(playerid, "~p~Sex Shop", 5000, 1); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,3); storeexit[playerid] = 1; } if (PlayerToPoint(3, playerid,2360.4719,-1532.8904,24.0000)) { if(PlayerInfo[playerid][pAge] < 18) { SendClientMessage(playerid, COLOR_WHITE, "[ERRO] Vocк precisa ter mais de 18 anos para entrar em um SexShop!"); return true; } XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-100.3403,-24.6412,1000.7188); GameTextForPlayer(playerid, "~p~Sex Shop", 5000, 1); PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid,1); SetPlayerInterior(playerid,3); storeexit[playerid] = 2; } //sex shop saida if (PlayerToPoint(2, playerid,-100.3403,-24.6412,1000.7188)) { if(storeexit[playerid] == 1) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1412.0570,-1700.0341,13.5395); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); storeexit[playerid] = 0; } if(storeexit[playerid] == 2) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2360.4719,-1532.8904,24.0000); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //======= farc entrada ================ if (PlayerToPoint(3, playerid,424.2209,2536.6211,16.1484)) { //farc entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,260.8988,1286.0612,1080.2578); GameTextForPlayer(playerid, "~y~HQ FARC", 5000, 1); PlayerInfo[playerid][pInt] = 4; SetPlayerInterior(playerid,4); storeexit[playerid] = 15; } if (PlayerToPoint(2, playerid,260.8988,1286.0612,1080.2578)) { //farc saida if(storeexit[playerid] == 15) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,424.2209,2536.6211,16.1484); GameTextForPlayer(playerid, "~w~Las Venturas", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //======= triad entrada ================ if (PlayerToPoint(3, playerid,-1691.6503,1367.4924,7.1797)) { //triad entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,327.9954,1478.8492,1084.4375); GameTextForPlayer(playerid, "~w~HQ Triad", 5000, 1); PlayerInfo[playerid][pInt] = 15; SetPlayerInterior(playerid,15); storeexit[playerid] = 22; } if (PlayerToPoint(2, playerid,327.9954,1478.8492,1084.4375)) { //triad saida if(storeexit[playerid] == 22) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-1691.6503,1367.4924,7.1797); GameTextForPlayer(playerid, "~w~San Fierro", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //======= GI entrada ================ if (PlayerToPoint(3, playerid,-2281.4895,2288.3999,4.9679)) { //GI entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-69.0297,1354.1414,1080.2109); GameTextForPlayer(playerid, "~w~HQ GI", 5000, 1); PlayerInfo[playerid][pInt] = 6; SetPlayerInterior(playerid,6); storeexit[playerid] = 23; } if (PlayerToPoint(2, playerid,-69.0297,1354.1414,1080.2109)) { //GI saida if(storeexit[playerid] == 23) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-2281.4895,2288.3999,4.9679); GameTextForPlayer(playerid, "~w~San Fierro", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 0; } } //================================================================ else if(PlayerToPoint(2, playerid,628.0784,-571.7713,17.3975) || PlayerToPoint(2, playerid,628.0784,-571.7713,17.3975)) { XXAirBreak[playerid] += 3; SetPlayerInterior(playerid,10); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,246.4452,108.4379,1003.2188); PlayerInfo[playerid][pInt] = 10; GameTextForPlayer(playerid, "~w~HQ Policia rodoviaria", 5000, 3); } else if(PlayerToPoint(2, playerid,210.5386,267.9687,270.4615)) { XXAirBreak[playerid] += 3; SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1687.9614,-1255.4989,14.8064); } else if(PlayerToPoint(2, playerid,608.4651,-590.1628,17.2266)) { SetPlayerPos(playerid,616.6039,-595.3680,22.7258); } else if(PlayerToPoint(1.2, playerid,616.6039,-595.3680,22.7258)) { SetPlayerPos(playerid,608.4651,-590.1628,17.2266); } //======================= rc ============================== else if(PlayerToPoint(2, playerid,1753.6919,-1894.0520,13.5984)) // fora do rc { SetPlayerPos(playerid,963.9667,-53.1824,1001.1246); // dentro feito com o outro SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0); SetPlayerFacingAngle(playerid, 268.5753); GameTextForPlayer(playerid, "~w~respawn Civil", 5000, 1); } else if(PlayerToPoint(2, playerid,963.9667,-53.1824,1001.1246)) // dentro feito com o de fora { SetPlayerPos(playerid,1753.6919,-1894.0520,13.5984); // fora ajuntando SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerFacingAngle(playerid, 92.6786); GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1); } else if(PlayerToPoint(3, playerid,-2664.6274,-9.0338,6.1328)) // SF teste nгo vai dar mas й teste { SetPlayerPos(playerid,965.1454,-53.0746,1001.2136); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0); GameTextForPlayer(playerid, "~w~respawn Civil", 5000, 1); } else if(PlayerToPoint(3, playerid,-2664.6274,-9.0338,6.1328)) // saida { SetPlayerPos(playerid,965.1454,-53.0746,1001.2136); // acho que й asim SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); GameTextForPlayer(playerid, "~w~San Fierro", 5000, 1);//para aki } else if (PlayerToPoint(1, playerid,1570.3828,-1333.8882,16.4844)) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 1545.0068,-1366.5094,327.2868); } else if(PlayerToPoint(1, playerid,349.1003,199.0484,1019.9844)) { SetPlayerPos(playerid, 349.1000,199.0489,2019.9844); SetPlayerInterior(playerid, 3); GameTextForPlayer(playerid, "~w~Bem vindo ao cassino", 5000, 1); } else if(PlayerToPoint(3, playerid,1554.9537,-1675.6584,16.1953)) {//Departamento de Policia Los Santos XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Departamento da Policia Militar", 5000, 1); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 0); // localizardppm[playerid] = 1; storeexit[playerid] = 66; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,246.5878,62.7877,1003.6406); PlayerInfo[playerid][pInt] = 6; } else if(PlayerToPoint(3, playerid,2034.1270,-1403.3320,17.2874)) {//hospital LS Entrada XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Hospital LS", 5000, 1); SetPlayerInterior(playerid, 10); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,369.4429,164.9996,1053.2078); PlayerInfo[playerid][pInt] = 10; storeexit[playerid] = 1; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(3, playerid,2244.5669,-1664.4495,15.4766)) {//entrada Binco XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Binco", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa"); SetPlayerInterior(playerid, 15); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,207.7336,-108.6231,1005.1328); PlayerInfo[playerid][pInt] = 15; } else if (PlayerToPoint(3, playerid,1456.9010,-1137.6941,23.9617)) {//entrada ZIP XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 161.3350,-95.0194,1001.8047); GameTextForPlayer(playerid, "~w~Zip",5000,1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa"); SetPlayerInterior(playerid,18); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 18; } else if (PlayerToPoint(3, playerid,-1694.5050,950.8621,24.8906)) {//entrada VICTIM XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937); GameTextForPlayer(playerid, "~w~VICTIM",5000,1); SetPlayerVirtualWorld(playerid, 0); SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa"); SetPlayerInterior(playerid,5); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 5; } else if (PlayerToPoint(2, playerid,1635.6626,590.6415,-35.4693)) {//entrada Predio XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 1481.3530,-1790.3047,156.7533); GameTextForPlayer(playerid, "~w~~b~Predio",5000,1); SendClientMessage(playerid, COLOR_WHITE, "DICA: USE /sair para sair do PrediO '-'"); SetPlayerInterior(playerid,0); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); PlayerInfo[playerid][pInt] = 0; } else if(PlayerToPoint(3, playerid,1836.4064,-1682.4403,13.3493)) {//Alhambra Entrance XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Alhambra", 5000, 1); SetPlayerInterior(playerid, 17); SetPlayerVirtualWorld(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,493.3891,-22.7212,1000.6797); PlayerInfo[playerid][pInt] = 17; } else if(PlayerToPoint(3, playerid,2421.4998,-1219.2438,25.5617)) {//Pigpen entrada XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~The Pig Pen", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 2); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Ginasio de Lutas", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 5); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,771.9399,-2.2574,1000.7292); PlayerInfo[playerid][pInt] = 5; } else if (PlayerToPoint(3, playerid,1200.4497,-918.7695,43.1105)) { //entrada Burger Shot 1 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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,2419.8442,-1509.4996,24.0000)) { //entrada Cluckin Bell Perto da Groove XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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] = 7; 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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 BPH XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 377.5237,-191.6597,1000.6328); GameTextForPlayer(playerid, "~w~Lachonete", 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); } //=-=-=-=-=-=-=-=-=| HOTEL |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(3, playerid,2233.2659,-1159.8256,25.8906)) { //Hotel entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 2214.7134,-1150.4315,1025.7969); GameTextForPlayer(playerid, "~w~Hotel",5000,1); SetPlayerInterior(playerid,15); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 15; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,2212.6235,-1150.4385,1025.7969)) { //Hotel entrada(dentro da porta) XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 2214.7134,-1150.4315,1025.7969); GameTextForPlayer(playerid, "~w~Hotel",5000,1); SetPlayerInterior(playerid,15); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 15; SetPlayerVirtualWorld(playerid, 0); } //=-=-=-=-=-=-=-=-=| 24/7'S|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if(PlayerToPoint(2, playerid,1833.6124,-1842.4968,13.5781)) {//24/7 estaзгo entrada XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 18); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469); PlayerInfo[playerid][pInt] = 18; storeexit[playerid] = 1; } else if(PlayerToPoint(2, playerid,1000.5861,-919.8832,42.3281)) {//24/7 gas station entrance XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerInterior(playerid, 4); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-27.2584,-31.6446,1003.5573); PlayerInfo[playerid][pInt] = 4; } else if(PlayerToPoint(2, playerid,1928.6006,-1776.4480,13.5469)) {//24/7 lado hq pcc XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerInterior(playerid, 16); SetPlayerVirtualWorld(playerid, 99); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-25.1326,-139.0670,1003.5469); PlayerInfo[playerid][pInt] = 16; } else if (PlayerToPoint(2, playerid, 1315.5110,-898.9860,39.5781)) {//24/7 perto madd dogg XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 18); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469); PlayerInfo[playerid][pInt] = 18; storeexit[playerid] = 2; } else if (PlayerToPoint(2, playerid, 1352.4357,-1759.0243,13.5078)) {//24/7 praзa dp XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 18); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469); PlayerInfo[playerid][pInt] = 18; storeexit[playerid] = 3; } else if (PlayerToPoint(2, playerid, -2442.6755,754.3430,35.1719)) {//groove XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~24/7", 5000, 1); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 18); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-30.9467,-89.6096,1003.5469); PlayerInfo[playerid][pInt] = 18; storeexit[playerid] = 4; } //=-=-=-=-=-=-=-=-=| HQ'S DAS ORGANIZAЗХES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| else if (PlayerToPoint(3, playerid,2232.2180,-1458.5508,24.0173)) {//entrada PCC LS XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, -2171.3071,645.2919,1057.5938); GameTextForPlayer(playerid, "~y~HQ PCC",5000,1); SetPlayerInterior(playerid,1); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 1; storeexit[playerid] = 21; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,328.0614,-1512.2689,36.0325)) {//Rotam LS entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 238.7194,141.7792,1003.0234); GameTextForPlayer(playerid, "~w~DP Rotam-LS",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 1); storeexit[playerid] = 2; } else if (PlayerToPoint(3, playerid,-2454.0352,503.9203,30.0793)) {//PF entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 238.7194,141.7792,1003.0234); GameTextForPlayer(playerid, "~w~DP Policia Federal",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 2); storeexit[playerid] = 11; } else if(PlayerToPoint(1, playerid,943.0517,-1743.3169,13.5546)) {//entrada Reporters HQ XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 366.4064,197.7209,1008.3828); GameTextForPlayer(playerid, "~g~Secretaria de seguranca",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 3; } else if (PlayerToPoint(3, playerid,-2454.0352,503.9203,30.0793)) {//PF entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 322.0765,303.8634,999.1484); GameTextForPlayer(playerid, "~w~DP Policia Federal",5000,1); SetPlayerInterior(playerid,5); //localizardppf[playerid] = 1; SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 5; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(3, playerid,1154.4968,-1180.8517,32.8187)) {//entrada HQ BALLAS XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~HQ Ballas", 5000, 1); SetPlayerInterior(playerid, 10); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2268.3950,-1210.5328,1047.7491); PlayerInfo[playerid][pInt] = 10; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 17; } else if (PlayerToPoint(3, playerid,2495.3481,-1691.1355,14.7656)) {//HQ Groove Street entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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; storeexit[playerid] = 14; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(2, playerid,2309.9460,-1643.6337,14.8270)) {//Bar Groove entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,501.8770,-67.7092,998.7578); GameTextForPlayer(playerid, "~r~Bar ",5000,1); SetPlayerInterior(playerid,11); SetPlayerFacingAngle(playerid, 178.1566); barexit[playerid] = 2; PlayerInfo[playerid][pInt] = 11; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(3, playerid,2008.4799,-2066.0486,13.5469)) {//entrada HQ CV XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~HQ Comando Vermelho", 5000, 1); SetPlayerInterior(playerid, 6); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2308.5269,-1211.2737,1049.0234); PlayerInfo[playerid][pInt] = 6; SetPlayerVirtualWorld(playerid, 0); } else if (PlayerToPoint(3, playerid,2808.0676,-1176.2814,25.3787)) {//HQ VAGOS XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,295.1389,1474.4699,1080.5198); GameTextForPlayer(playerid, "~w~HQ Los Vagos",5000,1); SetPlayerInterior(playerid,15); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 15; storeexit[playerid] = 18; SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(2, playerid,1073.2368,-345.5004,73.9922)) {//entrada HQ HITMANS XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~HQ Hitmans", 5000, 1); SetPlayerInterior(playerid, 6); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,343.7183,304.9376,999.1484); PlayerInfo[playerid][pInt] = 6; SetPlayerVirtualWorld(playerid, 0); } } return true; } 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); XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid,0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]); PlayerInfo[playerid][pInt] = 0; //Controle(playerid, 1); //Controle(playa, 1); SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; HouseEntered[playerid] = 500; return true; } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(1, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) { XXAirBreak[playerid] += 3; SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); XXAirBreak[playerid] += 3;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); PlayerInfo[playerid][pInt] = 0; } else if (PlayerToPoint(3, playerid,1548.8167,-1366.2247,326.2109)) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 1572.1115,-1332.5288,16.4844); PlayerInfo[playerid][pInt] = 0; } if (PlayerToPoint(1, playerid,305.05056762695,-159.16743469238,999.59375)) { //COFRE LOJA DE ARMAS 1 SAIDA XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,306.3995,-159.1051,999.5938); PlayerInfo[playerid][pInt] = 6; SetPlayerInterior(playerid,6); } if (PlayerToPoint(2, playerid,2476.0576,-1750.4755,13.5469)) { if(PlayerInfo[playerid][pHelper] < 1) { SendClientMessage(playerid, COR_HELPER, "[ERRO] Vocк nгo й um Helper e nгo pode entrar na HQ deles!"); return true; } //hq helper entrance XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,421.1092,2536.4766,10.0000); GameTextForPlayer(playerid, "~w~HQ HELPER", 5000, 1); PlayerInfo[playerid][pInt] = 10; SetPlayerInterior(playerid,10); SetPlayerVirtualWorld(playerid, 1); } if (PlayerToPoint(2, playerid,421.1092,2536.4766,10.0000)) { //hq helper saida XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2476.0576,-1750.4755,13.5469); GameTextForPlayer(playerid, "~w~LOS SANTOS", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); } else if(PlayerToPoint(1.0, playerid,-2027.0715,-103.6059,1035.1818)) {//SAIDA D.E.T.R.AN XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,952.5583,-909.3518,45.7656); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerInterior(playerid, 0); } else if(PlayerToPoint(3.0, playerid,246.5878,62.7877,1003.6406)) { if (storeexit[playerid] == 66) {//DPLS saida XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1554.9537,-1675.6584,16.1953); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else { XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1554.9537,-1675.6584,16.1953); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if(PlayerToPoint(3.0, playerid,369.4429,164.9996,1053.2078)) { if (storeexit[playerid] == 1) {//Hospital LS saida XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2034.1270,-1403.3320,17.2874); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else { XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2034.1270,-1403.3320,17.2874); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if(PlayerToPoint(4.0, playerid,386.7977,173.6897,1008.3828)) { if (storeexit[playerid] == 1717) {//prefLS saida (Commerce) XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1481.0386,-1772.3120,18.7958); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1718) {//prefSF saida (Country Club) XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-2720.1074,-318.5733,7.8438); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 2589) {//prefLS saida (East Beach) XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2793.6682,-1087.5436,30.7188); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } else if(storeexit[playerid] == 1719) {//prefSF saida (Downtown) XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-1882.6202,824.2709,35.1751); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if (PlayerToPoint(3.0, playerid,2147.7161,1603.5366,1006.1677)) { XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Banco", 5000, 1); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2315.5200,0.3490,26.7422); } else if(PlayerToPoint(3.0, playerid,207.7336,-108.6231,1005.1328)) {//Saida Binco XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, -1694.5050,950.8621,24.8906); 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] == 2) {//BAR PERTO DA GROOVE XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerFacingAngle(playerid, 130.5600); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2229.9011,-1721.2582,13.5613); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; } else if(PlayerToPoint(1, playerid,366.4064,197.7209,1008.3828)) {//Reporter Hq XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 943.0517,-1743.3169,13.5546); 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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-2442.6755,754.3430,35.1719); 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 XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); XXAirBreak[playerid] += 3;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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 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,2190.1182,-1179.7944,1033.7896)) { //Hotel Saida 2 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 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,2238.9316,-1192.4878,1033.7969)) { //Hotel Saida 3 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 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 XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 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); } //=-=-=-=-=-=-=-=-=| SAНDA HQ'S DAS ORGANIZAЗХES |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<| if (PlayerToPoint(2.0, playerid,-2171.3071,645.2919,1057.5938)) {//SAIDA HQ PCC if(storeexit[playerid] == 21) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 2232.2180,-1458.5508,24.0173); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } else if (PlayerToPoint(2.0, playerid,238.6815,138.6710,1003.0234)) { if(storeexit[playerid] == 2) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 328.0614,-1512.2689,36.0325); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } if(storeexit[playerid] == 11) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, -2454.0352,503.9203,30.0793); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } } if(PlayerToPoint(2.0, playerid,246.3772,107.4653,1003.2188)) {//Saida HQ Policia Rodoviaria ^^ XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,628.0784,-571.7713,17.3975); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; } if(PlayerToPoint(2.0, playerid,2270.1592,-1210.4899,1047.5625)) {//SAIDA HQ BALLAS if(storeexit[playerid] == 17) { XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1154.4968,-1180.8517,32.8187); SetPlayerFacingAngle(playerid, 82.4074); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } else if(PlayerToPoint(2.0, playerid,315.8926,-1769.9169,4.6362)) {//entrada HQ AZTECAS XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~HQ Los Aztecas", 5000, 1); SetPlayerInterior(playerid, 5); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,22.8858,1405.1282,1084.4297); PlayerInfo[playerid][pInt] = 5; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 5; } if(PlayerToPoint(1.0, playerid,22.8858,1405.1282,1084.4297)) {//SAIDA HQ AZTECAS if(storeexit[playerid] == 5) { XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,315.8926,-1769.9169,4.6362); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; storeexit[playerid] = 0; } } if (PlayerToPoint(1.0, playerid,2496.0398,-1692.0844,1014.7422)) { if(storeexit[playerid] == 14) { //HQ Groove Street Saida XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;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; storeexit[playerid] = 0; } } if(PlayerToPoint(1.0, playerid,343.7183,304.9376,999.1484)) {//SAIDA HQ HITMANS XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,1073.2368,-345.5004,73.9922); 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 XXAirBreak[playerid] += 3; SetPlayerInterior(playerid, 0); XXAirBreak[playerid] += 3;SetPlayerPos(playerid,2008.4799,-2066.0486,13.5469); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pLocal] = 255; } if (PlayerToPoint(2.0, playerid,295.1739,1472.2755,1080.2578)) {//SAIDA HQ VAGOS if(storeexit[playerid] == 18) { XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 2808.0676,-1176.2814,25.3787); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid, 0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid, 0); storeexit[playerid] = 0; } }
Код:
else if(PlayerToPoint(3, playerid,1554.9537,-1675.6584,16.1953)) {//Departamento de Policia Los Santos XXAirBreak[playerid] += 3; GameTextForPlayer(playerid, "~w~Departamento da Policia Militar", 5000, 1); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 0); // localizardppm[playerid] = 1; storeexit[playerid] = 66; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,246.5878,62.7877,1003.6406); PlayerInfo[playerid][pInt] = 6; }