Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. gasStations = {
  2. {-724, -935, 30},
  3. {-71, -1762, 30},
  4. {265, -1261, 30},
  5. {819, -1027, 30},
  6. {-2097, -320, 30},
  7. {1212, 2657, 30},
  8. {2683, 3264, 30},
  9. {-2555, 2334, 30},
  10. {180, 6603, 30},
  11. {2581, 362, 30},
  12. {1702, 6418, 30},
  13. {-1799, 803, 30},
  14. {-90, 6415, 30},
  15. {264, 2609, 30},
  16. {50, 2776, 30},
  17. {2537, 2593, 30},
  18. {1182, -330, 30},
  19. {-526, -1212, 30},
  20. {1209, -1402, 30},
  21. {2005, 3775, 30},
  22. {621, 269, 30},
  23. {-1434, -274, 30},
  24. {1687, 4929, 30}
  25. }
  26.  
  27.  
  28. Citizen.CreateThread(function()
  29. for i = 1, 23 do
  30.  
  31. local blip = AddBlipForCoord(gasStations[i][1],gasStations[i][2],gasStations[i][3])
  32.  
  33. TriggerEvent('chatMessage', "", {255, 0, 0}, " ^6 **" .. i .." " .. gasStations[i][1] .." " .. gasStations[i][2] .." " .. gasStations[i][3] .." ")
  34.  
  35. SetBlipSprite(blip, 361)
  36. SetBlipScale(blip, 1.1)
  37. SetBlipAsShortRange(blip, true)
  38. BeginTextCommandSetBlipName("STRING")
  39. AddTextComponentString("Gas")
  40. EndTextCommandSetBlipName(blip)
  41. end
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement