local blips = {
-- Example {title="", colour=, id=, x=, y=, z=},
{title="Grove Street", colour=1, id=311, x=105.64, y=-1940.04, z=22.22},
}
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, 2)
SetBlipScale(info.blip, 0.9)
SetBlipColour(info.blip, info.colour)
SetBlipAsShortRange(info.blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(info.title)
EndTextCommandSetBlipName(info.blip)
end
end)
Ve Icon Degistirmek Icin
ID yerine ve rengin de degistire bilirsin