how to create a blip with a circle round the blip ?
like this one :
– Create blips
Citizen.CreateThread(function()
for k,v in pairs(Config.Zones) do
local blip = AddBlipForRadius(v.x, v.y, v.z , 100.0) -- you can use a higher number for a bigger zone
SetBlipHighDetail(blip, true)
SetBlipColour(blip, 1)
SetBlipAlpha (blip, 128)
local blip = AddBlipForCoord(v.x, v.y, v.z)
SetBlipSprite (blip, v.sprite)
SetBlipDisplay(blip, 4)
SetBlipScale (blip, 0.9)
SetBlipColour (blip, v.color)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(v.name)
EndTextCommandSetBlipName(blip)
end
end)
2 Likes
where to put this code?? do i need to create a file?
Yes, but where i can put the coordonates???
put in v.x, vy etc or you can put it in Config.zone
I am trying to add a zone around my blackmarket but unfortuanatly there isnt a file that has a blips option. can i just add it?