Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
Added         SetBlipAlpha(radiusBlip, 100)

 as the radius blip is a solid color, causing potential issues where the blip is over areas of the map that aren't in water and may block visibility. 

The radius is still important as it implies a general area where coral can be harvested.
  • Loading branch information
alberttheprince authored Nov 10, 2023
1 parent 8015a14 commit 4147534
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ local function createAreaBlips(areaIndex)
local radiusBlip = AddBlipForRadius(coords.x, coords.y, coords.z, 100.0)
SetBlipRotation(radiusBlip, 0)
SetBlipColour(radiusBlip, 47)
SetBlipAlpha(radiusBlip, 100)

local labelBlip = AddBlipForCoord(coords.x, coords.y, coords.z)
SetBlipSprite(labelBlip, 597)
Expand Down Expand Up @@ -219,4 +220,4 @@ end)
CreateThread(function()
if not isLoggedIn then return end
init()
end)
end)

0 comments on commit 4147534

Please sign in to comment.