[Pomoc] exit

Započeo [GU:RP] ivica 156, Decembar 30, 2011, 20:54:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim:MojMod
Detaljan opis problema:ja sam napravio na serveru lokacije za exit i sad ih dodam i vecina njih ne radi znaci ja udem i izbaci me drugdje,a manjina mozda par radi moze pomoc?
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):


if(strcmp(cmd, "/exit", true) == 0)
{
   if(IsPlayerConnected(playerid))
{
for(new i = 0; i <  sizeof(HouseInfo); i++)
{
//printf("House :%d",i);
    if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,HouseInfo[i][hEntrancex],HouseInfo[i][hEntrancey],HouseInfo[i][hEntrancez]);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
if(HouseInfo[i][hHel] == 1)
{
new Float:tempheal;
GetPlayerHealth(playerid,tempheal);
if(tempheal < 100.0)
{
SetPlayerHealth(playerid,100.0);
}
}
}
}
for(new i = 0; i <  sizeof(BizzInfo); i++)
{
//printf("Bizz :%d",i);
if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
{
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
PlayerInfo[playerid][pLocal] = 255;
   }
}
if(GetPlayerVehicleID(playerid) >= 71 && GetPlayerVehicleID(playerid) <= 77)
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
}
else if (PlayerToPoint(3.0, playerid,233.9197,1065.1323,1084.2102))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1326.2804,-1067.5890,31.5547);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Banka Izlaz
else if (PlayerToPoint(3.0, playerid,2305.9988,-15.8383,26.7496))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1460.7028,-1013.9242,26.7664);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Hitman Izlaz
else if (PlayerToPoint(3.0, playerid,1703.2249,-1667.9418,20.2188))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-507.4408,-503.9421,25.5234);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//---------------------------Binco exit--------------------------
//---------------------------------------------------------
//Swat izlaz garaza
else if (PlayerToPoint(3.0, playerid,215.2028,125.7358,1003.2188))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,306.4104,-1529.8025,24.9219);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Silaz s krowa u swat bazu
else if (PlayerToPoint(3.0, playerid,314.7556,-1522.8131,76.5391))
{
   SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,266.0694,118.1449,1004.6172);
PlayerInfo[playerid][pInt] = 10;
PlayerInfo[playerid][pLocal] = 255;
}
//icf silaz s krova u bazu
else if (PlayerToPoint(3.0, playerid,2241.8381,-1158.3971,33.5240))
{
   SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,-781.2913,505.8152,1371.7422);
PlayerInfo[playerid][pInt] = 1;
PlayerInfo[playerid][pLocal] = 255;
}
//PD Oruzarnica Izlaz
else if (PlayerToPoint(3.0, playerid,296.8872,-110.9494,1001.5156))
{
   SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,252.0198,69.8749,1003.6406);
PlayerInfo[playerid][pInt] = 6;
PlayerInfo[playerid][pLocal] = 255;
}
//SWAT Izlaz
else if (PlayerToPoint(3.0, playerid,246.2675,108.9370,1003.2188))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,327.2491,-1514.4423,36.0325);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//LCN Izlaz
else if (PlayerToPoint(3.0, playerid,2807.6826,-1171.9860,1025.5703))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1127.4655,-2037.0573,69.8758);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
///Crips Izlaz
else if (PlayerToPoint(3.0, playerid,318.3701,1116.2211,1083.8828))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2794.3796,-1618.7108,10.9219);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid, 2496.0862,-1693.4819,1014.7422))
{
   if(PlayerInfo[playerid][Clan] == 8 || PlayerInfo[playerid][Lider] == 8)
   {
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 2147.9590,-1484.9873,26.6239);
PlayerInfo[playerid][pInt] = 0;
}
}
else if (PlayerToPoint(3.0, playerid,318.5844,1116.3180,1083.8828))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1125.4556,-2036.7507,69.8813);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//PD Izlaz
else if (PlayerToPoint(3.0, playerid,246.5031,64.1795,1003.6406))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1553.7106,-1675.3010,16.1953);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Corleon's Izlaz
else if (PlayerToPoint(3.0, playerid,-794.9634,490.7327,1376.1953))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2231.6143,-1159.4609,29.7969);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if(NoFuel[playerid] == 1)
{
   TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
NoFuel[playerid] = 0;
}
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
}
////////////////
//CNN izlaz
else if (PlayerToPoint(3.0, playerid,2324.2573,-1147.2605,1050.7101))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,739.2950,-1430.8109,13.5234);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Exit vijecnica
else if (PlayerToPoint(3.0, playerid,388.4034,173.7763,1008.3828))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1481.1058,-1769.1591,18.7958);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Vincie Izlaz
else if (PlayerToPoint(3.0, playerid,759.6380,1442.2234,1102.7031))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2730.5474,-2644.3582,16.6522);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//FBI Oruzarnica Izlaz
else if (PlayerToPoint(3.0, playerid,286.800994,-82.547599,1001.515625))
{
   SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,247.6169,155.2841,1003.0234);
GameTextForPlayer(playerid, "~w~fbi department", 5000, 1);
PlayerInfo[playerid][pInt] =3;
PlayerInfo[playerid][pLocal] = 255;
}
//Taxi Izlaz
else if (PlayerToPoint(3.0, playerid,1043.4027,10.3037,1001.2845))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1221.7390,-1813.2263,16.5938);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Street Racers Izlaz
else if (PlayerToPoint(3.0, playerid,2526.5718,-1679.5129,1015.4986))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1094.1245,-1226.5089,17.0554);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//FBI Streljana izlaz
else if (PlayerToPoint(3.0, playerid,301.6576,-73.4742,1001.5156))
{
   SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,301.3033,-78.4985,1001.5156);
GameTextForPlayer(playerid, "~r~fbi oruzarnica", 5000, 1);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//exit tsc
else if (PlayerToPoint(3.0, playerid,1262.6332,-784.8447,1091.9063))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1753.4847,-2055.7307,13.9101);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//fbi streljanan izlaz u gl dio
else if (PlayerToPoint(3.0, playerid,305.1420,-57.7733,1001.5156))
{
   SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,302.5238,-57.8360,1001.5156);
PlayerInfo[playerid][pInt] = 4;
PlayerInfo[playerid][pLocal] = 255;
}
//Ballas Izlaz
else if (PlayerToPoint(3.0, playerid,966.1699,-53.5868,1001.1246))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2179.7549,-1661.4287,14.8976);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
//Glen Park Izlaz
else if (PlayerToPoint(3.0, playerid,2495.7639,-1693.3422,1014.7422))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2147.9590,-1484.9873,26.6239);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,2324.0706,-1147.9115,1050.7101))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1029.9440,-1442.3126,13.5546);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
  else if (PlayerToPoint(3.0, playerid,2324.3079,-1147.2751,1050.7101))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1125.5413,-2037.1289,69.8809);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,288.4732,168.5937,1007.1719))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1654.6482,-1657.1689,22.5156);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,325.2775,114.1259,1007.9657 ))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1462.1525,-1013.0935,26.8438);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(6.0, playerid,386.1000,1471.8000,1080.1875))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1526.0199,-774.5153,79.8853);
}
else if (PlayerToPoint(8.0, playerid,2261.4622,-1136.1614,1050.6328))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1532.5615,-800.2423,72.6447);
}
else if (PlayerToPoint(8.0, playerid,140.7672,1368.0426,1083.8623))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1538.9999,-851.7338,64.3361);
}
else if (PlayerToPoint(8.0, playerid,227.3557,1114.3569,1080.9984))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1468.5809,-904.2407,54.8359);
}
else if (PlayerToPoint(8.0, playerid,225.6122,1023.1215,1084.0128))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1422.0758,-884.4899,50.6227);
}
else if (PlayerToPoint(8.0, playerid,234.4946,1064.9354,1084.2104))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1409.3293,-921.7027,38.4219);
}
else if (PlayerToPoint(8.0, playerid,222.2489,1143.5592,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1438.6359,-927.2982,39.6406);
}
else if (PlayerToPoint(8.0, playerid,1.0590,-3.0843,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1327.3669,-1092.1761,27.9766);
}
else if (PlayerToPoint(8.0, playerid,1284.3489,-1089.9790,28.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,328.2109,1479.0092,1084.4375);
}
else if (PlayerToPoint(8.0, playerid,327.9287,1478.6642,1084.4375))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1242.9015,-1100.3431,27.9766);
}
else if (PlayerToPoint(8.0, playerid,744.7876,1437.2678,1102.7031))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1442.4459,-630.1303,95.7186);
}
else if (PlayerToPoint(8.0, playerid,227.5675,1114.2764,1080.9994))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1093.3337,-804.4390,107.4203);
}
else if (PlayerToPoint(8.0, playerid,234.2300,1064.6368,1084.2109))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1033.7332,-811.7356,101.8516);
}
else if (PlayerToPoint(8.0, playerid,234.4128,1064.6969,1084.2108))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1016.8555,-761.4942,112.5630);
}
else if (PlayerToPoint(8.0, playerid,234.2090,1064.6600,1084.2109))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,977.8911,-769.9313,112.2026);
}
else if (PlayerToPoint(8.0, playerid,-68.8000,1354.7000,1080.2109))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,936.8558,-846.1377,93.9054);
}
else if (PlayerToPoint(8.0, playerid,295.2766,1472.8983,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,925.1246,-853.1224,93.4565);
}
else if (PlayerToPoint(8.0, playerid,295.1248,1473.3182,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,829.0754,-860.9828,69.9219);
}
else if (PlayerToPoint(8.0, playerid,386.1714,1471.5869,1080.1949))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,837.1150,-893.7841,68.7689);
}
else if (PlayerToPoint(8.0, playerid,2254.8401,-1139.9968,1050.6328))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,699.5361,-1059.4252,49.4217);
}
else if (PlayerToPoint(8.0, playerid,221.9693,1141.9746,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,645.2539,-1117.2592,44.2070);
}
else if (PlayerToPoint(8.0, playerid,261.0078,1285.7688,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,579.7166,-1148.5944,53.1801);
}
else if (PlayerToPoint(8.0, playerid,260.8747,1285.3621,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,557.5198,-1159.8401,54.4223);
}
else if (PlayerToPoint(8.0, playerid,-262.4633,1456.6967,1084.3672))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,299.2946,-1154.8176,80.9763);
}
else if (PlayerToPoint(8.0, playerid,83.0003,1324.0143,1083.8594))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,252.3024,-1221.7842,75.4089);
}
else if (PlayerToPoint(8.0, playerid,83.1995,1323.9309,1083.8594))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,252.6466,-1268.7869,73.8473);
}
else if (PlayerToPoint(8.0, playerid,2324.1133,-1147.5613,1050.7101))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,219.7300,-1250.9432,78.3318);
}
else if (PlayerToPoint(8.0, playerid,2324.0872,-1147.7274,1050.7101))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,220.0145,-1251.2131,78.3296);
}
else if (PlayerToPoint(8.0, playerid,234.1152,1064.5797,1084.2111))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,256.9095,-1365.2600,53.1094);
}
else if (PlayerToPoint(8.0, playerid,222.8707,1288.3793,1082.1406))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,298.4821,-1336.9922,53.4417);
}
else if (PlayerToPoint(8.0, playerid,261.0561,1285.6781,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,354.4022,-1280.1479,53.7036);
}
else if (PlayerToPoint(8.0, playerid,234.2000,1064.9000,1084.2106))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,431.4550,-1252.2094,51.5809);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,446.1954,507.6599,1001.4195))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2513.2612,-1690.8104,13.5284);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.7190,1142.3855,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2522.1382,-1679.3357,15.4970);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,140.6758,1369.9918,1083.8651))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2523.3167,-1658.8038,15.4935);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.2966,1143.7595,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2498.3396,-1644.0364,13.7826);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,23.3284,1405.1859,1084.4297))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2486.3591,-1645.8737,14.0772);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,260.7486,1286.1647,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2470.1157,-1648.0674,13.4721);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,446.1000,507.9000,1001.4195))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2459.9338,-1690.6127,13.5379);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,446.4329,507.9890,1001.4195))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2414.0801,-1647.1500,14.0119);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.6000,1143.6000,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2409.2461,-1673.8461,13.6039);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,260.7034,1286.0726,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2393.5022,-1647.3066,13.5363);
}
  /*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,261.2283,1286.1891,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2362.6499,-1644.0544,13.5313);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.6000,1143.6000,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2368.4199,-1675.0760,14.1682);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,2368.4199,-1675.0760,14.1682))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,0.9506,-3.2270,999.4284);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,2326.8645,-1718.9950,13.5469))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,244.3279,305.6313,999.1484);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,0.9803,-2.7950,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2309.7566,-1717.4850,14.3281);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.0229,-3.1572,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2068.7500,-1731.6935,13.9280);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.5000,305.0000,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2067.6926,-1716.9382,13.5547);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.5000,305.0000,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2066.3884,-1703.2255,14.1503);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.1170,-3.6894,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2067.9099,-1656.3600,13.5469);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.5000,305.0000,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2068.4934,-1643.6022,13.5469);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,445.8915,507.6856,1001.4195))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2068.3608,-1629.2592,13.8762);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.6000,1143.6000,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2142.6326,-1605.2084,14.3516);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.6379,305.1667,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2017.5800,-1629.9500,13.7121);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.4415,-3.5769,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2016.0823,-1641.3650,13.7824);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2013.1302,-1656.0063,13.8058);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2017.3809,-1703.5804,14.2414);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.5000,305.0000,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1980.9036,-1718.6857,17.0300);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,221.6000,1143.6000,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2014.7522,-1732.8541,14.2344);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1854.5171,-1914.7245,15.3087);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,244.2735,305.1585,999.1484))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1872.0387,-1912.5834,15.2568);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,234.4105,1065.1130,1084.2102))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1891.7600,-1914.9600,15.2568);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1913.0139,-1912.5963,15.2568);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1928.9917,-1916.2521,15.2568);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,1.2000,-3.4000,999.4284))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1937.7140,-1910.8909,15.2568);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,234.2000,1064.9000,1084.2106))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1497.1603,-688.9687,95.1835);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,490.7096,1402.5127,1080.2645))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1111.3450,-742.1567,100.1386);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,234.2998,1064.6063,1084.2109))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1095.4137,-646.7675,113.6484);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,140.4000,1370.3000,1083.8656))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1044.4755,-640.8514,120.1172);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,140.4000,1370.3000,1083.8656))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,979.3872,-675.6669,121.9763);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,234.2000,1064.9000,1084.2106))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,945.7074,-709.0027,122.2109);
}
/*------------------------------------Ammu nation------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,314.820983,-141.431991,999.601562))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1366.94,-1279.92,13.55 );
}
/*------------------------------------/exit burger------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,364.8065,-73.5049,1001.5078))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1199.9600,-919.9939,43.1045);
}
/*------------------------------------Burger exit------------------------------------------*/
/*------------------------------------/exit burger------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,234.0277,1065.0331,1084.2103))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,315.9015,-1770.0280,4.6399);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,445.5993,507.6730,1001.4195))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,305.3628,-1770.3304,4.5383);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,301.1171,306.5812,1003.5391))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,295.4192,-1765.1548,4.5469);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,2467.3960,-1698.1885,1013.5078))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,280.6513,-1768.3684,4.5218);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,386.1000,1471.8000,1080.1875))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,207.0900,-1770.5364,4.3350);
}
else if (PlayerToPoint(8.0, playerid,221.1383,1143.2592,1082.6094))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,192.7971,-1769.8389,4.3116);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,225.3480,1023.6545,1084.0112))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,168.2865,-1769.5454,4.4666);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,260.8562,1286.0717,1080.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,651.8725,-1620.1031,15.0000);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,260.8067,1238.5859,1084.2578))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,767.8347,-1696.6373,5.0710);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,-286.0760,1471.0535,1084.3750))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,695.4503,-1645.7400,3.7887);
}
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,140.1394,1368.0210,1083.8624))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,698.7151,-1627.2117,3.6326);
}
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
else if (PlayerToPoint(8.0, playerid,238.3804,140.2101,1003.0234))
{
   SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1678.1271,-1635.6587,14.2266);
}
else if(NoFuel[playerid] == 1)
{
   TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
NoFuel[playerid] = 0;
}
}
return 1;
}

   ovo za oruzarne i baze to je sve u redu ovo di ne pise za sta je to su kuce
Poslednja Izmena: Decembar 30, 2011, 21:28:11 POSLE PODNE od [TG]$--L84S--$

" Tvoj Mod "
Koristis strcmp ??
Pogledaj kod tih koje ti nerade da li si dobre kordinate stavio i da li si psotavio virtualworld na 0 ;)