Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gasStations = {
- {-724, -935, 30},
- {-71, -1762, 30},
- {265, -1261, 30},
- {819, -1027, 30},
- {-2097, -320, 30},
- {1212, 2657, 30},
- {2683, 3264, 30},
- {-2555, 2334, 30},
- {180, 6603, 30},
- {2581, 362, 30},
- {1702, 6418, 30},
- {-1799, 803, 30},
- {-90, 6415, 30},
- {264, 2609, 30},
- {50, 2776, 30},
- {2537, 2593, 30},
- {1182, -330, 30},
- {-526, -1212, 30},
- {1209, -1402, 30},
- {2005, 3775, 30},
- {621, 269, 30},
- {-1434, -274, 30},
- {1687, 4929, 30}
- }
- Citizen.CreateThread(function()
- for i = 1, 23 do
- local blip = AddBlipForCoord(gasStations[i][1],gasStations[i][2],gasStations[i][3])
- TriggerEvent('chatMessage', "", {255, 0, 0}, " ^6 **" .. i .." " .. gasStations[i][1] .." " .. gasStations[i][2] .." " .. gasStations[i][3] .." ")
- SetBlipSprite(blip, 361)
- SetBlipScale(blip, 1.1)
- SetBlipAsShortRange(blip, true)
- BeginTextCommandSetBlipName("STRING")
- AddTextComponentString("Gas")
- EndTextCommandSetBlipName(blip)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement