davedumas0

Untitled

Aug 25th, 2018 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 26.44 KB | None | 0 0
  1. controlPressed = 0
  2. markerXSize = 1.5
  3. markerYSize = 1.5
  4. markerZSize = 1.5
  5. Citizen.CreateThread(function ()
  6.  while true do
  7.  Citizen.Wait(0)
  8.   if DoesBlipExist(markBlip) then
  9.    markerBlipTable.markerBlipType = markBlipType
  10.    markerBlipTable.markerBlip = markBlip
  11.   end
  12.  end
  13. end)
  14. markcoords = {}
  15. markerTable = {}
  16. markerBlipTable = {}
  17.  
  18. local options = {
  19.     x = 0.11,
  20.     y = 0.2,
  21.     width = 0.22,
  22.     height = 0.04,
  23.     scale = 0.4,
  24.     font = 0,
  25.     menu_title = "mission creator menu",
  26.     menu_subtitle = "Categories",
  27.     color_r = 30,
  28.     color_g = 144,
  29.     color_b = 255,
  30. }
  31. ----------------------------------------------------------------------------------------------------------------------------------
  32. --------------------------------------------this gets info about spawned entity and player----------------------------------------
  33. ----------------------------------------------------------------------------------------------------------------------------------
  34. function Notify(text)
  35.     SetNotificationTextEntry('STRING')
  36.     AddTextComponentString(text)
  37.     DrawNotification(false, false)
  38. end
  39. ghg = 0
  40. Citizen.CreateThread(function()
  41.  
  42.   while true do
  43.  
  44.   markerTableLength = #markerTable
  45.      Citizen.Wait(0)
  46.  
  47.   for ghg = 0, 31 do  
  48.      for hgh = 7, 11 do
  49.         if IsControlPressed(ghg, hgh) then
  50.           ghg00 = ghg
  51.           hgh00 = hgh
  52.          --Notify("control pressed is: "..tostring(ghg00).." "..tostring(hgh00))
  53.          --Citizen.Trace("control pressed is: "..ghg00.." "..hgh00)
  54.          --TriggerServerEvent('buttonAndGroup', ghg00, hgh00)
  55.         end
  56.       end
  57.      for hgh1 = 14, 66 do
  58.         if IsControlPressed(ghg, hgh1) then
  59.           ghg01 = ghg
  60.           hgh01 = hgh1
  61.          --Notify("control pressed is: "..tostring(ghg01).." "..tostring(hgh01))
  62.          --Citizen.Trace("control pressed is: "..ghg01.." "..hgh01)
  63.          --TriggerServerEvent('buttonAndGroup', ghg01, hgh01)
  64.         end
  65.       end
  66.      for hgh2 = 70, 94 do
  67.         if IsControlPressed(ghg, hgh2) then
  68.           ghg02 = ghg
  69.           hgh02 = hgh2
  70.          --Notify("control pressed is: "..tostring(ghg02).." "..tostring(hgh02))
  71.          --Citizen.Trace("control pressed is: "..ghg02.." "..hgh02)
  72.          --TriggerServerEvent('buttonAndGroup', ghg02, hgh02)
  73.         end
  74.       end    
  75.      for hgh3 = 96, 220 do
  76.         if IsControlPressed(ghg, hgh3) then
  77.          hgh03 = hgh3
  78.          ghg03 = ghg
  79.          --Notify("control pressed is: "..tostring(ghg03).." "..tostring(hgh03))
  80.          --Citizen.Trace("control pressed is: "..ghg03.." "..hgh03)
  81.          --TriggerServerEvent('buttonAndGroup', ghg03, hgh03)
  82.         end
  83.       end
  84.      for hgh4 = 222, 238 do
  85.         if IsControlPressed(ghg, hgh4) then
  86.          hgh04 = hgh4
  87.          ghg04 = ghg
  88.          --Notify("control pressed is: "..tostring(ghg04).." "..tostring(hgh04))
  89.          --Citizen.Trace("control pressed is: "..ghg04.." "..hgh04)
  90.          --TriggerServerEvent('buttonAndGroup', ghg04, hgh04)
  91.         end
  92.       end
  93.      for hgh4 = 241, 345 do
  94.         if IsControlPressed(ghg, hgh4) then
  95.          hgh04 = hgh4
  96.          ghg04 = ghg
  97.          --Notify("control pressed is: "..tostring(ghg04).." "..tostring(hgh04))
  98.          --Citizen.Trace("control pressed is: "..ghg04.." "..hgh04)
  99.          --TriggerServerEvent('buttonAndGroup', ghg04, hgh04)
  100.         end
  101.       end    
  102.   end
  103.  
  104.      playerPed = GetPlayerPed(PlayerId())
  105.      playerCoords = GetEntityCoords(GetPlayerPed(PlayerId()), true)
  106.      playerCoordsX = playerCoords.x
  107.      playerCoordsY = playerCoords.y
  108.      playerCoordsZ = playerCoords.z
  109.      playerHeading = GetEntityHeading(GetPlayerPed(PlayerId()))
  110. -----------------------------------------------------------------------------------------------------------------------------------------------------
  111. ---------------------------------this checks if the spawned entity exists and moves it as player pushes buttons---------------------------------------
  112. -----------------------------------------------------------------------------------------------------------------------------------------------------
  113.  
  114.  
  115. --if left shift is pressed then movement speed is slower
  116.     if IsControlPressed(0, 21) then
  117.    
  118.         moveSpeed = 0.01
  119.         moveSpeed1 = 0.2
  120.     else
  121.         moveSpeed = 0.1
  122.         moveSpeed1 = 1.3
  123.     end
  124.      
  125.      if IsControlPressed(0, 213) then
  126.   coordsX = playerCoordsX
  127.   coordsY = playerCoordsY
  128.   coordsZ = playerCoordsZ
  129.      end
  130.      if markerLoop and IsControlPressed(0, 21) then  
  131.        minusCoords = 0.3
  132.      else
  133.        minusCoords = 10.3
  134.      end     
  135. --left key
  136. -- if control "left" key is pressed then it adds 0.01 to the x coord
  137.      if markerLoop and IsControlPressed(1, 174) then  
  138.        coordsX = coordsX - minusCoords
  139.      end     
  140. --right key
  141. -- if control "right" key is pressed then it subtract's 0.01 from the x coord
  142.      if markerLoop and IsControlPressed(1, 175) then
  143.        coordsX = coordsX + minusCoords
  144.      end
  145. --pageup
  146. -- if control "pageUp" key is pressed then it adds 0.01 to the z coord
  147.      if markerLoop and IsControlPressed(1, 10) then
  148.        coordsZ = coordsZ + minusCoords
  149.      end
  150. --pagedown
  151. -- if control "pageDown" key is pressed then it subtract's 0.01 from the z coord
  152.      if markerLoop and IsControlPressed(0, 11) then  
  153.         coordsZ = coordsZ - minusCoords    
  154.      end   
  155. --up key
  156. -- if control "up" key is pressed then it subtract's 0.01 from the y coord
  157.      if markerLoop and IsControlPressed(0, 27) then
  158.        coordsY = coordsY - minusCoords
  159.      end
  160. --down key
  161. -- if control "down" key is pressed then it adds 0.01 to the y coord
  162.      if markerLoop and IsControlPressed(0, 173) then
  163.        coordsY = coordsY + minusCoords         
  164.       end  
  165. -- if control "num +" key is pressed then it adds 1 to markerType
  166.      if markerLoop and IsControlJustPressed(0, 96) then
  167.       if markType <30 then
  168.        markType = markType + 1         
  169.       end
  170.      end  
  171. -- if control "num -" key is pressed then it subtract's 1 to markerType
  172.      if markerLoop and IsControlJustPressed(0, 97) then
  173.       if markType >0 then
  174.        markType = markType - 1         
  175.       end
  176.      end
  177. -- if control "-" key is pressed then it subtract's 1 to markerType
  178.      if markerLoop and IsControlJustPressed(0, 84) then
  179.       if markBlipType >0 then
  180.        markBlipType = markBlipType - 1         
  181.       end
  182.      end
  183. -- if control "=" key is pressed then it adds 1 to markerType
  184.      if markerLoop and IsControlJustPressed(0, 83) then
  185.       if markBlipType < 560 then
  186.        markBlipType = markBlipType + 1         
  187.       end
  188.      end
  189.  
  190.      if not IsControlPressed(0, 21) then
  191.       if IsControlPressed(0, 19) and IsControlPressed(1, 82) then
  192.        markerYSize = markerYSize - 0.1
  193.       end
  194.      end     
  195.      if IsControlPressed(0, 21) and IsControlPressed(1, 81) then
  196.        markerYSize = markerYSize + 0.1
  197.      elseif IsControlPressed(0, 21) and IsControlPressed(1, 82) then
  198.        markerYSize = markerYSize - 0.1         
  199.      end
  200.      if not IsControlPressed(0, 21) and not IsControlPressed(0, 19) then
  201.       if IsControlPressed(1, 81) then
  202.       markerXSize = markerXSize + 0.1
  203.       end
  204.      end
  205.      if not IsControlPressed(0, 21) and not IsControlPressed(0, 19) then
  206.       if IsControlPressed(1, 82) then
  207.       markerXSize = markerXSize - 0.1
  208.       end
  209.      end     
  210.      if IsControlPressed(0, 21) then
  211.       if IsControlPressed(0, 19) and IsControlPressed(1, 82) then
  212.        markerZSize = markerZSize - 0.1
  213.       end
  214.      end
  215.      if IsControlPressed(0, 21) then
  216.       if IsControlPressed(0, 19) and IsControlPressed(1, 82) then
  217.        markerYSize = markerZSize + 0.1
  218.       end
  219.      end
  220.     end
  221.    
  222. end)
  223.  
  224.  
  225.  
  226. function drawTxt(x,y ,width,height,scale, text, r,g,b,a, outline)
  227.     SetTextFont(0)
  228.     SetTextProportional(0)
  229.     SetTextScale(scale, scale)
  230.     SetTextColour(r, g, b, a)
  231.     SetTextDropShadow(0, 0, 0, 0,255)
  232.     SetTextEdge(1, 0, 0, 0, 255)
  233.     SetTextDropShadow()
  234.     if(outline)then
  235.         SetTextOutline()
  236.     end
  237.     SetTextEntry("STRING")
  238.     AddTextComponentString(text)
  239.     DrawText(x - width/2, y - height/2 + 0.005)
  240. end
  241.  
  242. function DisplayHelpText(str)
  243.     SetTextComponentFormat("STRING")
  244.     AddTextComponentString(str)
  245.     DisplayHelpTextFromStringLabel(0, 1, 1, -1)
  246. end
  247.  
  248. --[[*************************************************************]]
  249. ------------------------------------------------------------------
  250. --------------------------main menu-------------------------------
  251. ------------------------------------------------------------------
  252. --[[*************************************************************]]
  253. function Main()
  254. markerVisible = false
  255.     markType = 0
  256.     markBlipType = 560
  257.     markerLoop = false
  258.     DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
  259.     Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
  260.     options.menu_title = "mission creator"
  261.     options.menu_subtitle = "~o~main menu"
  262.     ClearMenu()
  263.     Menu.addButton("~y~marker creator ~b~menu", "markerLoop0", nil)
  264. end
  265. function markerLoop0()
  266.     markerVisible = true
  267.     DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
  268.     Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
  269.     options.menu_title = "mission creator menu"
  270.     options.menu_subtitle = "~o~mission marker menu"
  271.     ClearMenu()
  272.     Menu.addButton("~y~draw marker", "markerLoop1", nil)
  273.     Menu.addButton("~g~BACK TO MAIN MENU", "Main", nil)
  274. end
  275. function markerLoop1()
  276.   Notify("markerBlipType "..tostring(markerBlipTable.markerBlipType))
  277.   markerVisible = true
  278.   coordsX = playerCoordsX
  279.   coordsY = playerCoordsY
  280.   coordsZ = playerCoordsZ
  281.  markerLoop = true
  282. Citizen.CreateThread(function()
  283.     markBlip = AddBlipForCoord(coordsX,coordsY,coordsZ)
  284.     SetBlipAsShortRange(markBlip, false)
  285.     BeginTextCommandSetBlipName("STRING")
  286.     AddTextComponentString("temp")
  287.     EndTextCommandSetBlipName(markBlip)  
  288.  while markerLoop do
  289.   markcoords.X = coordsX
  290.   markcoords.Y = coordsY
  291.   markcoords.Z = coordsZ
  292.   marksizeX = markerXSize
  293.   marksizeY = markerYSize
  294.   marksizeZ = markerZSize
  295.    Citizen.Wait(0)
  296.   DrawMarker(markType, markcoords.X, markcoords.Y, markcoords.Z, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, marksizeX, marksizeY, marksizeZ, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  297.     drawMarkerCoords(markcoords.X, markcoords.Y, markcoords.Z)
  298.     SetBlipSprite(markBlip, markBlipType)
  299.     SetBlipCoords(markBlip, markcoords.X, markcoords.Y, markcoords.Z)
  300.   if IsControlJustPressed(1, 177) then
  301.    if DoesBlipExist(markBlip) then
  302.     RemoveBlip(markBlip)
  303.    end
  304.    Main()
  305.   end  
  306.  end
  307. end)
  308.     DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
  309.     Notify("Press backspace to ~r~cancel")
  310.     options.menu_title = "my menyoo"
  311.     options.menu_subtitle = "~o~main menu 3"
  312.     ClearMenu()
  313.     Menu.addButton("~b~save marker location", "saveMarker", nil)
  314. end
  315.  
  316.  
  317. function saveMarker()
  318.       markerVisible = true
  319.     addMarkerToTable()
  320.     --markerLoop = false
  321.     DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
  322.     Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
  323.     options.menu_title = "mission creator menu"
  324.     options.menu_subtitle = "~o~mission marker menu"
  325.     ClearMenu()
  326.     Menu.addButton("~g~BACK TO MAIN MENU", "Main", nil)
  327. end
  328. num = 1
  329. function addMarkerToTable()
  330.  
  331. markcoords.X = coordsX
  332. markcoords.Y = coordsY
  333. markcoords.Z = coordsZ
  334.     Citizen.Wait(0)
  335.    
  336.     TriggerServerEvent('markers', markBlipType, markType, markcoords.X, markcoords.Y, markcoords.Z)
  337.     TriggerServerEvent("startmarkers", true)
  338. end
  339.  
  340.  
  341. --[[*************************************************************]]
  342. ------------------------------------------------------------------
  343. -----------------------other stuff-------------------
  344. ------------------------------------------------------------------
  345. --[[*************************************************************]]
  346.  
  347. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  348. --Press F5 to open/close menu
  349. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  350.  
  351. Citizen.CreateThread(function()
  352.     while true do
  353.         Citizen.Wait(0)
  354.                     if IsControlJustReleased(1, 168) then
  355.                         Main() -- Menu to draw
  356.                         Menu.hidden = not Menu.hidden -- Hide/Show the menu
  357.                               if DoesBlipExist(markBlip) then
  358.                                RemoveBlip(markBlip)
  359.                               end
  360.                     end
  361.                     Menu.renderGUI(options) -- Draw menu on each tick if Menu.hidden = false
  362.                 end      
  363. end)
  364.  
  365. function drawMarkerCoords(X, Y, Z)
  366.  x = X
  367.  y = Y
  368.  z = Z
  369. end
  370.  
  371. Citizen.CreateThread(function()
  372.     while true do
  373.       Citizen.Wait(0)
  374.       if markerVisible~=false then  
  375.   local position = "marker x coords: "..tostring(x)
  376.   local offset = {x = 0.290, y = 0.850}
  377.   local rgb = {r = 255, g = 0, b = 0}
  378.   local alpha = 255
  379.   local scale = 0.5
  380.   local font = 0
  381.             SetTextColour(rgb.r, rgb.g, rgb.b, alpha)
  382.             SetTextFont(font)
  383.             SetTextScale(scale, scale)
  384.             SetTextWrap(0.0, 1.0)
  385.             SetTextCentre(false)
  386.             SetTextDropshadow(2, 2, 0, 0, 0)
  387.             SetTextEdge(1, 0, 0, 0, 205)
  388.             SetTextEntry("STRING")
  389.             AddTextComponentString(position)           
  390.             DrawText(offset.x, offset.y)      
  391.      end     
  392.     end    
  393. end)
  394. Citizen.CreateThread(function()
  395.     while true do
  396.       Citizen.Wait(0)
  397.       if markerVisible~=false then    
  398.   local position = "marker y coords: "..tostring(y)
  399.   local offset = {x = 0.290, y = 0.830}
  400.   local rgb = {r = 255, g = 0, b = 0}
  401.   local alpha = 255
  402.   local scale = 0.5
  403.   local font = 0
  404.             SetTextColour(rgb.r, rgb.g, rgb.b, alpha)
  405.             SetTextFont(font)
  406.             SetTextScale(scale, scale)
  407.             SetTextWrap(0.0, 1.0)
  408.             SetTextCentre(false)
  409.             SetTextDropshadow(2, 2, 0, 0, 0)
  410.             SetTextEdge(1, 0, 0, 0, 205)
  411.             SetTextEntry("STRING")
  412.             AddTextComponentString(position)           
  413.             DrawText(offset.x, offset.y)      
  414.       end    
  415.     end    
  416. end)
  417. Citizen.CreateThread(function()
  418.     while true do
  419.       Citizen.Wait(0)
  420.       if markerVisible~=false then    
  421.   local position = "marker z coords: "..tostring(z)
  422.   local offset = {x = 0.290, y = 0.810}
  423.   local rgb = {r = 255, g = 0, b = 0}
  424.   local alpha = 255
  425.   local scale = 0.5
  426.   local font = 0
  427.             SetTextColour(rgb.r, rgb.g, rgb.b, alpha)
  428.             SetTextFont(font)
  429.             SetTextScale(scale, scale)
  430.             SetTextWrap(0.0, 1.0)
  431.             SetTextCentre(false)
  432.             SetTextDropshadow(2, 2, 0, 0, 0)
  433.             SetTextEdge(1, 0, 0, 0, 205)
  434.             SetTextEntry("STRING")
  435.             AddTextComponentString(position)           
  436.             DrawText(offset.x, offset.y)      
  437.       end    
  438.     end    
  439. end)
  440. Citizen.CreateThread(function()
  441.     while true do
  442.       Citizen.Wait(0)
  443.       if markerVisible~=false then    
  444.   local position = "marker blip type: "..tostring(markBlipType)
  445.   local offset = {x = 0.700, y = 0.1024}
  446.   local rgb = {r = 25, g = 50, b = 220}
  447.   local alpha = 255
  448.   local scale = 0.2
  449.   local font = 0
  450.             SetTextColour(rgb.r, rgb.g, rgb.b, alpha)
  451.             SetTextFont(font)
  452.             SetTextScale(scale, scale)
  453.             SetTextWrap(0.0, 1.0)
  454.             SetTextCentre(false)
  455.             SetTextDropshadow(2, 2, 0, 0, 0)
  456.             SetTextEdge(1, 0, 0, 0, 205)
  457.             SetTextEntry("STRING")
  458.             AddTextComponentString(position)           
  459.             DrawText(offset.x, offset.y)      
  460.       end    
  461.     end    
  462. end)
  463. ---------------------------------------------------------------------------------------------------------------------------
  464. --bunker blip sprit id's {565, 564}
  465.  
  466. Citizen.CreateThread(function()
  467.  local temp2 = AddBlipForCoord(804.42199707031, -3010.1801269531, -40.795426177978)
  468.  SetBlipSprite(temp2, 369)
  469.     while true do
  470.       Citizen.Wait(0)
  471.      DrawMarker(1, 804.42199707031, -3010.1801269531, -40.795426177978, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  472.     end
  473.  end)
  474. Citizen.CreateThread(function()
  475.  local temp2 = AddBlipForCoord(1101.5930175781, -3003.4763183594, -39.900534057617)
  476.  SetBlipSprite(temp2, 66)
  477.     while true do
  478.       Citizen.Wait(0)
  479.      DrawMarker(28, 1101.5930175781, -3003.4763183594, -39.900534057617, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  480.     end
  481.  end)
  482. Citizen.CreateThread(function()
  483.  local temp2 = AddBlipForCoord(974.42424316408, -3000.8261230468, -35.562767028809)
  484.  SetBlipSprite(temp2, 66)
  485.     while true do
  486.       Citizen.Wait(0)
  487.      DrawMarker(0, 974.42424316408, -3000.8261230468, -35.562767028809, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  488.     end
  489.  end)
  490. Citizen.CreateThread(function()
  491.  local temp2 = AddBlipForCoord(402.89709472656, -964.87854003906, -99.004180908203)
  492.  SetBlipSprite(temp2, 474)
  493.     while true do
  494.       Citizen.Wait(0)
  495.      DrawMarker(0, 402.89709472656, -964.87854003906, -99.004180908203, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  496.     end
  497.  end)
  498.  
  499. Citizen.CreateThread(function()
  500.  local temp2 = AddBlipForCoord(308.93092651367, -998.05611572266, -94.195205688477)
  501.  SetBlipSprite(temp2, 375)
  502.     while true do
  503.       Citizen.Wait(0)
  504.      DrawMarker(0, 308.93092651367, -998.05611572266, -94.195205688477, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  505.     end
  506.  end)
  507. Citizen.CreateThread(function()
  508.  local temp2 = AddBlipForCoord(258.90057373047, -996.93989257813, -98.697715759277)
  509.  SetBlipSprite(temp2, 375)
  510.     while true do
  511.       Citizen.Wait(0)
  512.      DrawMarker(0, 258.90057373047, -996.93989257813, -98.697715759277, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  513.     end
  514.  end)
  515. Citizen.CreateThread(function()
  516.  local temp2 = AddBlipForCoord(228.82740783691, -997.54565429688, -98.697700500488)
  517.  SetBlipSprite(temp2, 369)
  518.     while true do
  519.       Citizen.Wait(0)
  520.      DrawMarker(0, 228.82740783691, -997.54565429688, -98.697700500488, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  521.     end
  522.  end)
  523. Citizen.CreateThread(function()
  524.  local temp2 = AddBlipForCoord(377.14212036133, -1008.7520874023, -98.69303894043)
  525.  SetBlipSprite(temp2, 102)
  526.     while true do
  527.       Citizen.Wait(0)
  528.      DrawMarker(0, 377.14212036133, -1008.7520874023, -98.69303894043, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  529.     end
  530.  end)
  531. Citizen.CreateThread(function()
  532.  local temp2 = AddBlipForCoord(198.39839172363, -1019.3025512695, -98.999992370605)
  533.  SetBlipSprite(temp2, 369)
  534.     while true do
  535.       Citizen.Wait(0)
  536.      DrawMarker(0, 198.39839172363, -1019.3025512695, -98.999992370605, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  537.     end
  538.  end)
  539. Citizen.CreateThread(function()
  540.  local temp2 = AddBlipForCoord(200.35911560059, -999.96746826172, -98.99991607666)
  541.  SetBlipSprite(temp2, 369)
  542.     while true do
  543.       Citizen.Wait(0)
  544.      DrawMarker(0, 200.35911560059, -999.96746826172, -98.99991607666, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  545.     end
  546.  end)
  547. Citizen.CreateThread(function()
  548.  local temp2 = AddBlipForCoord(403.35256958008, -997.36779785156, -99.000244140625)
  549.  SetBlipSprite(temp2, 280)
  550.     while true do
  551.       Citizen.Wait(0)
  552.      DrawMarker(0, 403.35256958008, -997.36779785156, -99.000244140625, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  553.     end
  554.  end)
  555. Citizen.CreateThread(function()
  556.  local temp2 = AddBlipForCoord(-800.34017333984, 339.75618286133, 158.59896850586)
  557.  SetBlipSprite(temp2, 375)
  558.     while true do
  559.       Citizen.Wait(0)
  560.      DrawMarker(0, -800.34017333984, 339.75618286133, 158.59896850586, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  561.     end
  562.  end)
  563. Citizen.CreateThread(function()
  564.  local temp2 = AddBlipForCoord(-792.74711914063, 339.54885864258, 206.21823120117)
  565.  SetBlipSprite(temp2, 371)
  566.     while true do
  567.       Citizen.Wait(0)
  568.      DrawMarker(0, -792.74711914063, 339.54885864258, 206.21823120117, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  569.     end
  570.  end)
  571. Citizen.CreateThread(function()
  572.  local temp2 = AddBlipForCoord(-209.26104736333, 305.97191772461, 95.223571777344)
  573.  SetBlipSprite(temp2, 58)
  574.     while true do
  575.       Citizen.Wait(0)
  576.      DrawMarker(0, -209.26104736333, 305.97191772461, 95.223571777344, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  577.     end
  578.  end)
  579. Citizen.CreateThread(function()
  580.  local temp2 = AddBlipForCoord(959.91900939941, -3000.3303222656, 96.947174072266)
  581.  SetBlipSprite(temp2, 419)
  582.     while true do
  583.       Citizen.Wait(0)
  584.      DrawMarker(0, 959.91900939941, -3000.3303222656, 40.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  585.     end
  586.  end)
  587. Citizen.CreateThread(function()
  588.  local temp2 = AddBlipForCoord(847.1547241211, 3121.5551757813, 40.144426345825)
  589.  SetBlipSprite(temp2, 401)
  590.     while true do
  591.       Citizen.Wait(0)
  592.      DrawMarker(0, 847.1547241211, 3121.5551757813, 40.144426345825, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  593.     end
  594.  end)
  595. Citizen.CreateThread(function()
  596.  local temp2 = AddBlipForCoord(-1833.9641113281, 3294.8911132813, -38.9513671875)
  597.  SetBlipSprite(temp2, 400)
  598.     while true do
  599.       Citizen.Wait(0)
  600.      DrawMarker(0, -1833.9641113281, 3294.8911132813, -38.9513671875, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  601.     end
  602.  end)
  603. Citizen.CreateThread(function()
  604.  local temp2 = AddBlipForCoord(-1516.5516601563, -3264.6349609376, -300.80566101074)
  605.  SetBlipSprite(temp2, 388)
  606.     while true do
  607.       Citizen.Wait(0)
  608.      DrawMarker(0, -1516.5516601563, -3264.6349609376, -300.80566101074, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  609.     end
  610.  end)
  611. Citizen.CreateThread(function()
  612.  local temp2 = AddBlipForCoord(-1315.4859130859, -3072.3915039063, -54.562936401367)
  613.  SetBlipSprite(temp2, 396)
  614.     while true do
  615.       Citizen.Wait(0)
  616.      DrawMarker(0, -1315.4859130859, -3072.3915039063, -54.562936401367, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  617.     end
  618.  end)
  619. Citizen.CreateThread(function()
  620.  local temp2 = AddBlipForCoord(988.05462646484, -97.991850280761, 73.346481323242)
  621.  SetBlipSprite(temp2, 348)
  622.     while true do
  623.       Citizen.Wait(0)
  624.      DrawMarker(1, 988.05462646484, -97.991850280761, 73.346481323242, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  625.     end
  626.  end)
  627. Citizen.CreateThread(function()
  628.  local temp2 = AddBlipForCoord(-136.07287597656, -630.18206787109, 135.09765014648)
  629.  SetBlipSprite(temp2, 369)
  630.     while true do
  631.       Citizen.Wait(0)
  632.      DrawMarker(1, -136.07287597656, -630.18206787109, 135.09765014648, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  633.     end
  634.  end)
  635. Citizen.CreateThread(function()
  636.  local temp2 = AddBlipForCoord(-117.49379730225, -568.11627197266, 135.39765014648)
  637.  SetBlipSprite(temp2, 369)
  638.     while true do
  639.       Citizen.Wait(0)
  640.      DrawMarker(1, -117.49379730225, -568.11627197266, 135.39765014648, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  641.     end
  642.  end)
  643. Citizen.CreateThread(function()
  644.  local temp2 = AddBlipForCoord(-191.00825500488, -579.14587402344, 135.99766540527)
  645.  SetBlipSprite(temp2, 369)
  646.     while true do
  647.       Citizen.Wait(0)
  648.      DrawMarker(1, -191.00825500488, -579.14587402344, 135.99766540527, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  649.     end
  650.  end)
  651. Citizen.CreateThread(function()
  652.  local temp2 = AddBlipForCoord(172.8853302002, -1005.6874389648, -98.999977111816)
  653.  SetBlipSprite(temp2, 369)
  654.     while true do
  655.       Citizen.Wait(0)
  656.      DrawMarker(1, 172.8853302002, -1005.6874389648, -98.999977111816, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  657.     end
  658.  end)
  659. Citizen.CreateThread(function()
  660.  local temp2 = AddBlipForCoord(-1253.6600341797, -2998.8000488281, -48.107715606689)
  661.  SetBlipSprite(temp2, 474)
  662.     while true do
  663.       Citizen.Wait(0)
  664.      DrawMarker(1, -1253.6600341797, -2998.8000488281, -48.107715606689, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  665.     end
  666.  end)
  667. Citizen.CreateThread(function()
  668.  local temp2 = AddBlipForCoord(1094.9801025391, -3101.7758789063, -39.002712249756)
  669.  SetBlipSprite(temp2, 474)
  670.     while true do
  671.       Citizen.Wait(0)
  672.      DrawMarker(0, 1094.9801025391, -3101.7758789063, -39.002712249756, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  673.     end
  674.  end)
  675.  
  676. Citizen.CreateThread(function()
  677.  local temp2 = AddBlipForCoord(414.39008789062, -977.62189331054, -99.005057525634)
  678.  SetBlipSprite(temp2, 498)
  679.     while true do
  680.       Citizen.Wait(0)
  681.      DrawMarker(0, 414.39008789062, -977.62189331054, -99.005057525634, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  682.     end
  683.  end)
  684. Citizen.CreateThread(function()
  685.  local temp2 = AddBlipForCoord(1657.54296875, 4838.9516601563, 41.123391723633)
  686.  SetBlipSprite(temp2, 498)
  687.     while true do
  688.       Citizen.Wait(0)
  689.      DrawMarker(1, 1657.54296875, 4838.9516601563, 41.123391723633, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  690.     end
  691.  end)
  692. Citizen.CreateThread(function()
  693.  local temp2 = AddBlipForCoord(814.74658203125, -93.68635559082, 79.399029541016)
  694.  SetBlipSprite(temp2, 498)
  695.     while true do
  696.       Citizen.Wait(0)
  697.      DrawMarker(1, 814.74658203125, -93.68635559082, 79.399029541016, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  698.     end
  699.  end)
  700.  
  701. Citizen.CreateThread(function()
  702.  local temp2 = AddBlipForCoord(-3029.7143554688, 23.545057296753, 10.118409156799)
  703.  SetBlipSprite(temp2, 560)
  704.     while true do
  705.       Citizen.Wait(0)
  706.      DrawMarker(0, -3029.7143554688, 23.545057296753, 10.118409156799, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  707.     end
  708.  end)
  709. Citizen.CreateThread(function()
  710.  local temp2 = AddBlipForCoord(-1493.1330566406, -385.87356567383, 39.852191925049)
  711.  SetBlipSprite(temp2, 560)
  712.     while true do
  713.       Citizen.Wait(0)
  714.      DrawMarker(0, -1493.1330566406, -385.87356567383, 39.852191925049, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
  715.     end
  716.  end)
Add Comment
Please, Sign In to add comment