Mjesa se teleport

Započeo coi., Jul 17, 2019, 16:46:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Nije ni jedno
Deo skripte: [ pawn ]napravio sam da u /port ima Gradske lokacije i Poslovi kada se porta do poslova dobro radi ali kad se na neku lokaciju od gradske lokacije igrac porta posalje ga na lokaciju sa liste poslova[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]nije[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/LthjxFb

Da nisi pomiješao kordinate mozda ? A mozda je i do komande ko bi sad znao ..
[ мαтяүx ]
- Pusti našu pjesmu , tebi čuvam zadnji ples -

Citat: Daï½'kAngï½...l poslato Jul 17, 2019, 16:48:45 POSLE PODNE
Da nisi pomiješao kordinate mozda ? A mozda je i do komande ko bi sad znao ..
ne kordinate su ok sve

Citat: Aw0ken poslato Jul 17, 2019, 16:49:29 POSLE PODNE
ne kordinate su ok sve
Daj komandu da pogledam
[ мαтяүx ]
- Pusti našu pjesmu , tebi čuvam zadnji ples -

[pawn]    if(dialogid == DIALOG_ATELEPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 0:
         {
            SPD(playerid,DIALOG_OTELEPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Policija\nLCN \nMesto za drogu\nRuska Mafija\nGrove\nBallas\nNovinari\nTrijade\nYakuza\nVagos\nLos Surenos\nFBI\nNorthman\nCrips\nVatrogasci\nSWAT\nBloods\nAlCapone\nHitma", "Odaberi", "Izlaz");
         }
         case 1:
         {
            SPD(playerid,DIALOG_LSTELEPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Burg\nBanka\nLS Centar\nSpawn\nBolnica\nPlaza\nAuto Skola\nAuto salon\nMoto bike salon\nCentralni zatvor\nOpstina\nKolodvor\nAerodrom\nZlatara\nGradska galerija\nPro Laps", "Odaberi", "Izlaz");
         }
         case 2:
         {
             SPD(playerid,DIALOG_POSLOVIPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Bus Vozac\nKosac Trave\nMehanicar\nPostar\nKomunalac\nGradjevinar\nBolnicar\nGrobar\nDzeparos\nMasinovodja\nDostavljac\nKamiondzija\nPilot\nElektricar\nDJ\nTaxi\nVodoinstalater\nDrvosjeca", "Odaberi", "Izlaz");
         }
         case 3:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-1399.1519,-321.2615,14.1484);
            }
            else
            {
               SetPlayerPos(playerid,-1399.1519,-321.2615,14.1484);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do San Fiera!");
         }
         case 4:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1690.4329,1447.2113,10.7663);
            }
            else
            {
               SetPlayerPos(playerid,1690.4329,1447.2113,10.7663);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Las Venturasa!");
         }
         case 5:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,3093.0244,-1009.3196,30.6195);
            }
            else
            {
               SetPlayerPos(playerid,3088.3850,-976.0178,32.1193);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Admin baze!");
         }
         case 6:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1799.9761,778.9656,11.6267);
            }
            else
            {
               SetPlayerPos(playerid,1799.9761,778.9656,11.6267);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Naplatne Baltic RolePlay -Las Venturas!");
         }
         case 7:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-3781.8083,1029.2897,7.8256);
            }
            else
            {
               SetPlayerPos(playerid,-3781.8083,1029.2897,7.8256);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Zatvor ostrva!");
         }
         case 8:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-2695.4385,217.5039,4.1797);
            }
            else
            {
               SetPlayerPos(playerid,-2695.4385,217.5039,4.1797);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Tuning garaze-San Fierro!");
         }
         case 9:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,0.3097,-2.3866,3.1172);
            }
            else
            {
               SetPlayerPos(playerid,0.3097,-2.3866,3.1172);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Farme!");

         }
      }
   }
   ///////////////////////////////////////////////////////////////////////////////
   if(dialogid == DIALOG_LSTELEPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 0:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1213.8459,-925.2637,42.9148);
            }
            else
            {
               SetPlayerPos(playerid,1213.8459,-925.2637,42.9148);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do burga!");
         }
         case 1:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1461.4692,-1026.6687,23.8281);
            }
            else
            {
               SetPlayerPos(playerid,1461.4692,-1026.6687,23.8281);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do banke!");
         }
         case 2:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1528.7382,-1673.2966,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1528.7382,-1673.2966,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Baltic RolePlay -a!");
         }
         case 3:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1544.2123,-1271.9554,17.4057);
            }
            else
            {
               SetPlayerPos(playerid,1544.2123,-1271.9554,17.4057);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do spawna!");
         }
         case 4:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1204.2029,-1329.0402,13.3984);
            }
            else
            {
               SetPlayerPos(playerid,1204.2029,-1329.0402,13.3984);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do spawna!");
         }
         case 5:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,438.8236,-1810.8392,5.5469);
            }
            else
            {
               SetPlayerPos(playerid,438.8236,-1810.8392,5.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do plaze!");
         }
         case 6:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1559.5591,-2281.8320,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1559.5591,-2281.8320,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do auto skole!");
         }
         case 7:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1287.0013,-1652.1876,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1287.0013,-1652.1876,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Auto salona!");
         }
         case 8:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1161.8739,-1640.9656,13.9707);
            }
            else
            {
               SetPlayerPos(playerid,1161.8739,-1640.9656,13.9707);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Moto bike salona!");
         }
         case 9:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1828.0867,-1723.1840,5202.5859);
            }
            else
            {
               SetPlayerPos(playerid,1828.0867,-1723.1840,5202.5859);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Centralnog zatvora!");
         }
         case 10:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1481.2312,-1744.5497,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1481.2312,-1744.5497,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Opstine!");
         }
         case 11:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1764.8361,-1864.4675,13.6459);
            }
            else
            {
               SetPlayerPos(playerid,1764.8361,-1864.4675,13.6459);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Kolodvora!");
         }
         case 12:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1635.8319,-2330.8281,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1635.8319,-2330.8281,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Baltic RolePlay  Aerodroma!");
         }
         case 13:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1713.2052,-1142.5520,24.0757);
            }
            else
            {
               SetPlayerPos(playerid,1713.2052,-1142.5520,24.0757);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Zlatare!");
         }
         case 14:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1379.2737,-1894.1926,13.4806);
            }
            else
            {
               SetPlayerPos(playerid,1379.2737,-1894.1926,13.4806);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Gradske galerije!");
         }
         case 15:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1467.0835,-1428.5615,12.7519);
            }
            else
            {
               SetPlayerPos(playerid,1467.0835,-1428.5615,12.7519);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Pro lapsa!");
         }
      }
   }
      ///////////////////////////////////////////////////////////////////////////////
   if(dialogid == DIALOG_POSLOVIPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 16:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1771.7225,-1894.3270,13.5543);
            }
            else
            {
               SetPlayerPos(playerid,1771.7225,-1894.3270,13.5543);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Bus vozaca!");
         }
         case 17:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1939.7537,-1238.6152,18.5932);
            }
            else
            {
               SetPlayerPos(playerid,1939.7537,-1238.6152,18.5932);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Kosaca trave!");
         }
         case 18:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1713.3201,-1733.2845,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1713.3201,-1733.2845,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Mehanicara!");
         }
         case 19:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,942.8710,-1274.0088,15.1684);
            }
            else
            {
               SetPlayerPos(playerid,942.8710,-1274.0088,15.1684);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Postara!");
         }
         case 20:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1577.7999,-1537.4554,13.5671);
            }
            else
            {
               SetPlayerPos(playerid,1577.7999,-1537.4554,13.5671);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Komunalca!");
         }
         case 21:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1868.9762,-1586.5396,13.5875);
            }
            else
            {
               SetPlayerPos(playerid,1868.9762,-1586.5396,13.5875);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Gradjevinara!");
         }
         case 22:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1139.8468,-1302.7590,13.5919);
            }
            else
            {
               SetPlayerPos(playerid,1139.8468,-1302.7590,13.5919);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Bolnicara!");
         }
         case 23:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,931.7825,-1103.3087,24.3130);
            }
            else
            {
               SetPlayerPos(playerid,931.7825,-1103.3087,24.3130);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Grobara!");
         }
         case 24:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,2351.2202,-1161.4059,27.3980);
            }
            else
            {
               SetPlayerPos(playerid,2351.2202,-1161.4059,27.3980);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Dzeparosa!");
         }
         case 25:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1715.7714,-1942.8860,13.5676);
            }
            else
            {
               SetPlayerPos(playerid,1715.7714,-1942.8860,13.5676);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Masinovodje!");
         }
         case 26:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1625.7957,-1840.5099,13.5421);
            }
            else
            {
               SetPlayerPos(playerid,1625.7957,-1840.5099,13.5421);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Dostavljac!");
         }
         case 27:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1783.0042,-2060.2195,13.5887);
            }
            else
            {
               SetPlayerPos(playerid,1783.0042,-2060.2195,13.5887);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do kamiondzije!");
         }
         case 28:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1897.9413,-2315.7078,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1897.9413,-2315.7078,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do pilota!");
         }
         case 29:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1089.2174,-1235.2090,15.8203);
            }
            else
            {
               SetPlayerPos(playerid,1089.2174,-1235.2090,15.8203);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do elektricara!");
         }
         case 30:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,212.0970,-1849.0010,3.3735);
            }
            else
            {
               SetPlayerPos(playerid,212.0970,-1849.0010,3.3735);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do dj-a!");
         }
         case 31:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1763.6018,-1778.2393,13.5298);
            }
            else
            {
               SetPlayerPos(playerid,1763.6018,-1778.2393,13.5298);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do taxiste!");
         }
         case 32:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,2414.0657,-2105.0916,13.3835);
            }
            else
            {
               SetPlayerPos(playerid,2414.0657,-2105.0916,13.3835);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do vodoinstalatera!");
         }
         case 33:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1558.2953,20.9983,24.1641);
            }
            else
            {
               SetPlayerPos(playerid,1558.2953,20.9983,24.1641);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do drvosjece!");
         }
      }
   }
   //////////////////////////////////////////////////////////////////////////////[/pawn]

imas li dialog sa kordinatama za mafije ,tacnije DIALOG_OTELEPORT


[pawn]    if(dialogid == DIALOG_ATELEPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 0:
         {
            SPD(playerid,DIALOG_OTELEPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Policija\nLCN \nMesto za drogu\nRuska Mafija\nGrove\nBallas\nNovinari\nTrijade\nYakuza\nVagos\nLos Surenos\nFBI\nNorthman\nCrips\nVatrogasci\nSWAT\nBloods\nAlCapone\nHitma", "Odaberi", "Izlaz");
         }
         case 1:
         {
            SPD(playerid,DIALOG_LSTELEPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Burg\nBanka\nLS Centar\nSpawn\nBolnica\nPlaza\nAuto Skola\nAuto salon\nMoto bike salon\nCentralni zatvor\nOpstina\nKolodvor\nAerodrom\nZlatara\nGradska galerija\nPro Laps", "Odaberi", "Izlaz");
         }
         case 2:
         {
             SPD(playerid,DIALOG_POSLOVIPORT, DIALOG_STYLE_LIST, ""BELA"Teleport", "Bus Vozac\nKosac Trave\nMehanicar\nPostar\nKomunalac\nGradjevinar\nBolnicar\nGrobar\nDzeparos\nMasinovodja\nDostavljac\nKamiondzija\nPilot\nElektricar\nDJ\nTaxi\nVodoinstalater\nDrvosjeca", "Odaberi", "Izlaz");
         }
         case 3:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-1399.1519,-321.2615,14.1484);
            }
            else
            {
               SetPlayerPos(playerid,-1399.1519,-321.2615,14.1484);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do San Fiera!");
         }
         case 4:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1690.4329,1447.2113,10.7663);
            }
            else
            {
               SetPlayerPos(playerid,1690.4329,1447.2113,10.7663);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Las Venturasa!");
         }
         case 5:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,3093.0244,-1009.3196,30.6195);
            }
            else
            {
               SetPlayerPos(playerid,3088.3850,-976.0178,32.1193);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Admin baze!");
         }
         case 6:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1799.9761,778.9656,11.6267);
            }
            else
            {
               SetPlayerPos(playerid,1799.9761,778.9656,11.6267);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Naplatne Baltic RolePlay -Las Venturas!");
         }
         case 7:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-3781.8083,1029.2897,7.8256);
            }
            else
            {
               SetPlayerPos(playerid,-3781.8083,1029.2897,7.8256);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Zatvor ostrva!");
         }
         case 8:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,-2695.4385,217.5039,4.1797);
            }
            else
            {
               SetPlayerPos(playerid,-2695.4385,217.5039,4.1797);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Tuning garaze-San Fierro!");
         }
         case 9:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,0.3097,-2.3866,3.1172);
            }
            else
            {
               SetPlayerPos(playerid,0.3097,-2.3866,3.1172);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Farme!");

         }
      }
   }
   ///////////////////////////////////////////////////////////////////////////////
   if(dialogid == DIALOG_LSTELEPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 0:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1213.8459,-925.2637,42.9148);
            }
            else
            {
               SetPlayerPos(playerid,1213.8459,-925.2637,42.9148);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do burga!");
         }
         case 1:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1461.4692,-1026.6687,23.8281);
            }
            else
            {
               SetPlayerPos(playerid,1461.4692,-1026.6687,23.8281);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do banke!");
         }
         case 2:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1528.7382,-1673.2966,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1528.7382,-1673.2966,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Baltic RolePlay -a!");
         }
         case 3:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1544.2123,-1271.9554,17.4057);
            }
            else
            {
               SetPlayerPos(playerid,1544.2123,-1271.9554,17.4057);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do spawna!");
         }
         case 4:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1204.2029,-1329.0402,13.3984);
            }
            else
            {
               SetPlayerPos(playerid,1204.2029,-1329.0402,13.3984);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do spawna!");
         }
         case 5:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,438.8236,-1810.8392,5.5469);
            }
            else
            {
               SetPlayerPos(playerid,438.8236,-1810.8392,5.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do plaze!");
         }
         case 6:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1559.5591,-2281.8320,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1559.5591,-2281.8320,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do auto skole!");
         }
         case 7:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1287.0013,-1652.1876,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1287.0013,-1652.1876,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Auto salona!");
         }
         case 8:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1161.8739,-1640.9656,13.9707);
            }
            else
            {
               SetPlayerPos(playerid,1161.8739,-1640.9656,13.9707);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Moto bike salona!");
         }
         case 9:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1828.0867,-1723.1840,5202.5859);
            }
            else
            {
               SetPlayerPos(playerid,1828.0867,-1723.1840,5202.5859);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Centralnog zatvora!");
         }
         case 10:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1481.2312,-1744.5497,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1481.2312,-1744.5497,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Opstine!");
         }
         case 11:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1764.8361,-1864.4675,13.6459);
            }
            else
            {
               SetPlayerPos(playerid,1764.8361,-1864.4675,13.6459);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Kolodvora!");
         }
         case 12:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1635.8319,-2330.8281,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1635.8319,-2330.8281,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Baltic RolePlay  Aerodroma!");
         }
         case 13:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1713.2052,-1142.5520,24.0757);
            }
            else
            {
               SetPlayerPos(playerid,1713.2052,-1142.5520,24.0757);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Zlatare!");
         }
         case 14:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1379.2737,-1894.1926,13.4806);
            }
            else
            {
               SetPlayerPos(playerid,1379.2737,-1894.1926,13.4806);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Gradske galerije!");
         }
         case 15:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1467.0835,-1428.5615,12.7519);
            }
            else
            {
               SetPlayerPos(playerid,1467.0835,-1428.5615,12.7519);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            TogglePlayerControllable(playerid, 0);
             freeze[playerid] =  SetTimerEx("Freeze",3000, false, "i", playerid);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Pro lapsa!");
         }
      }
   }
      ///////////////////////////////////////////////////////////////////////////////
   if(dialogid == DIALOG_POSLOVIPORT)
   {
      if(!response) return 1;
      switch(listitem)
      {
         case 0:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1771.7225,-1894.3270,13.5543);
            }
            else
            {
               SetPlayerPos(playerid,1771.7225,-1894.3270,13.5543);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Bus vozaca!");
         }
         case 1:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1939.7537,-1238.6152,18.5932);
            }
            else
            {
               SetPlayerPos(playerid,1939.7537,-1238.6152,18.5932);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Kosaca trave!");
         }
         case 2:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1713.3201,-1733.2845,13.3828);
            }
            else
            {
               SetPlayerPos(playerid,1713.3201,-1733.2845,13.3828);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Mehanicara!");
         }
         case 3:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,942.8710,-1274.0088,15.1684);
            }
            else
            {
               SetPlayerPos(playerid,942.8710,-1274.0088,15.1684);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Postara!");
         }
         case 4:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1577.7999,-1537.4554,13.5671);
            }
            else
            {
               SetPlayerPos(playerid,1577.7999,-1537.4554,13.5671);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Komunalca!");
         }
         case 5:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1868.9762,-1586.5396,13.5875);
            }
            else
            {
               SetPlayerPos(playerid,1868.9762,-1586.5396,13.5875);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Gradjevinara!");
         }
         case 6:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1139.8468,-1302.7590,13.5919);
            }
            else
            {
               SetPlayerPos(playerid,1139.8468,-1302.7590,13.5919);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Bolnicara!");
         }
         case 7:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,931.7825,-1103.3087,24.3130);
            }
            else
            {
               SetPlayerPos(playerid,931.7825,-1103.3087,24.3130);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Grobara!");
         }
         case 8:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,2351.2202,-1161.4059,27.3980);
            }
            else
            {
               SetPlayerPos(playerid,2351.2202,-1161.4059,27.3980);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Dzeparosa!");
         }
         case 9:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1715.7714,-1942.8860,13.5676);
            }
            else
            {
               SetPlayerPos(playerid,1715.7714,-1942.8860,13.5676);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Masinovodje!");
         }
         case 10:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1625.7957,-1840.5099,13.5421);
            }
            else
            {
               SetPlayerPos(playerid,1625.7957,-1840.5099,13.5421);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do Dostavljac!");
         }
         case 11:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1783.0042,-2060.2195,13.5887);
            }
            else
            {
               SetPlayerPos(playerid,1783.0042,-2060.2195,13.5887);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do kamiondzije!");
         }
         case 12:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1897.9413,-2315.7078,13.5469);
            }
            else
            {
               SetPlayerPos(playerid,1897.9413,-2315.7078,13.5469);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do pilota!");
         }
         case 13:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1089.2174,-1235.2090,15.8203);
            }
            else
            {
               SetPlayerPos(playerid,1089.2174,-1235.2090,15.8203);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do elektricara!");
         }
         case 14:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,212.0970,-1849.0010,3.3735);
            }
            else
            {
               SetPlayerPos(playerid,212.0970,-1849.0010,3.3735);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do dj-a!");
         }
         case 15:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1763.6018,-1778.2393,13.5298);
            }
            else
            {
               SetPlayerPos(playerid,1763.6018,-1778.2393,13.5298);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do taxiste!");
         }
         case 16:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,2414.0657,-2105.0916,13.3835);
            }
            else
            {
               SetPlayerPos(playerid,2414.0657,-2105.0916,13.3835);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do vodoinstalatera!");
         }
         case 17:
         {
            if(GetPlayerState(playerid) == 2)
            {
               new idv = GetPlayerVehicleID(playerid);
               SetVehiclePos(idv,1558.2953,20.9983,24.1641);
            }
            else
            {
               SetPlayerPos(playerid,1558.2953,20.9983,24.1641);
            }
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid,0);
            SCM(playerid,-1,""CRVENA"[BT:RP] "BELA"Teleportovali ste se do drvosjece!");
         }
      }
   }
   //////////////////////////////////////////////////////////////////////////////[/pawn]

TIIIIIRRRRRRUUUUUU RIIIIIIIIIIIIIIIII RUUUUUUUUUUUUU