I was trying to add a colored range around some blips on the minimap but I can’t find anything that can help me to do that. Any idea someone?
An example could look like.
local blips = {
{title="BlipBlip", colour=18, id=411, x=1157.236, y=-3272.024, z=5.900},
}
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, 0.9)
SetBlipColour(info.blip, info.colour)
SetBlipAsShortRange(info.blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(info.title)
EndTextCommandSetBlipName(info.blip)
end
end)
With blips and stuff able to be found here
What I meant was: is there a SetBlipSomething
to create around a blip a bigger colored, semitransparent (alpha ~0.5) circle?
Just like this