[HELP] how do I add blips to my fiveM Map/the gta v map

i tried this and it dosent work here is what i have i tried just adding mine please help

local blips = {
– Example {title=“”, colour=, id=, x=, y=, z=},

 {title="Library", colour=0, id=795, x = -1576.61, y = 180.8, z = 58.23},
 {title="Burger Shot", colour=0, id=93, x = 117.32, y = -878.5, z = 14.06},
 {title="The Corretto", colour=0, id=93, x = -1182.41, y = -1418.66, z = 4.38},
 {title="cafe cool bean", colour=0, id=93, x = -1210.21, y = -1136.58, z = 7.66},
 {title="Bahama Mamas", colour=0, id=93, x = -1388.001, y = -618.4197, z = 30.8196},
 {title="The Shrine of the Dragon", colour=0, id=197, x = -957.7, y = -1479.17, z = 5.17},
 {title="Paridise resort", colour=0, id=280, x = -2985.61, y = 75.61, z = 11.61},
 {title="LS Fire Department", colour=0, id=513, x = 1203.75, y = -1453.69, z = 35},
 {title="Hotel of Hill House", colour=0, id=811, x = 384.24, y = 6.98, z = 91.27},
 {title="The Rose Bloom", colour=0, id=93, x = -170.72, y = 279.29, z = 93.6},
 {title="Weezel News", colour=0, id=590, x = -605.18, y = -931.81, z = 23.86}
 {title="Get Fit", colour=0, id=126, x = -390.79, y = 6050.35, z = 31.5},
 {title="The Secret Garden", colour=0, id=93, x = -627.88, y = 248.68, z = 81.6},
 {title="On the Train", colour=0, id=93, x = -367.2, y = 261.8, z = 84.84},
 {title="Split Sides Club", colour=0, id=93, x = -430.12, y = 257.56, z = 83.02},
 {title="Mums Donuts", colour=0, id=93, x = -3044.76, y = 615.51, z = 7.45},
 {title="Irish Pub", colour=0, id=93, x = 851.57, y = -112.26, z = 79.37}
 {title="Walmart", colour=0, id=638, x = 33.83, y = -1744.55, z = 29.3},
 {title="Vineyard", colour=0, id=411, x = -1891.19, y = 2042.22, z = 159.91},
 {title="Rockford Records", colour=0, id=136, x = -1018.71, y = -263.72, z = 39.04},
 {title="Pink Cage Motel", colour=0, id=476, x = 318.99, y = -232.24, z = 53.97},
 {title="Art Gallery", colour=0, id=776, x = -425.7, y = 19.47, z = 46.29},
 {title="FBI", colour=0, id=498, x = -1.9, y = -935.2, z = 29.37},
 {title="school", colour=0, id=619, x = -1630.86, y = 182.26, z = 61.29},
 {title="Druzillas", colour=0, id=93, x = -1344.33, y = -1083.51, z = 6.94},
 {title="Pearls", colour=0, id=93, x = -1812.02, y = -1187.35, z = 13.69},
 {title="Al dantres", colour=0, id=93, x = -1398.2, y = -918.37, z = 89.45},
 {title="The Hellexia Cinema", colour=0, id=135, x = -1385.08, y = -170.69, z = 47.47},
 {title="The Clam", colour=0, id=93, x = -3405.8, y = 967.72, z = 8.29},
 {title="Example 2", colour=30, id=108, x = 260.130, y = 204.308, z = 109.287}

}

Citizen.CreateThread(function()

for _, info in pairs(blips) do
  info.blip = AddBlipForCoord(info.x, info.y, info.z)
  SetBlipSprite(info.blip, info.id)
  SetBlipDisplay(info.blip, 4)
  SetBlipScale(info.blip, 1.0)
  SetBlipColour(info.blip, info.colour)
  SetBlipAsShortRange(info.blip, true)
  BeginTextCommandSetBlipName("STRING")
  AddTextComponentString(info.title)
  EndTextCommandSetBlipName(info.blip)
end

end)

Can you provide the whole code?

blips.lua (3.01 KB)

hope this helps just can not figure out why its noty working

AMAZING THANK YOU DUDE :smiley:

is there a way to add custom pictures as blips?

This is all you need and its free. You’ll be done in seconds.
So many people here make things harder than the have to be