Skip to content

AddBlipForArea with SetBlipAsShortRange does not display correctly #3973

Description

@ianitow

What happened?

2. What you expected to happen

The “area blip” should only be visible when you get close to it.

If you use any other type of blip, such as “addBlipCoord” or variations, it works correctly.

4. What actually happens

I can see the blip on the minimap even though far away; it shouldn’t appear.

If I have several blips (area) they all appear with the same problem (I’ve created several blips to show in video).

5. Category of bug (eg. client, server, weapons, peds, native)

Client and Blips

6. Reproducible steps, preferably with example script(s)

https://youtu.be/l8AzxUJ2sQ0?si=1yBmwi-ec-cELMgQ

Expected result

Blip Area must only shows when you get close to

Reproduction steps

You can use this script:

local blip = AddBlipForArea(54.7225, -1773.2985, 22.1081, 500.0, 400.0)
SetBlipColour(blip, 0xff0000ff)
SetBlipDisplay(blip, 2) -- Both minimap and map (any which shows on minimap and map has the problem)
SetBlipRotation(blip, 0)
SetBlipAsShortRange(blip, true) --This is the problem?

Importancy

Slight inconvenience

Area(s)

FiveM

Specific version(s)

Client: 22591 (Update channel: release) (Last recommended also) | Server: tx: v8.0.1 | fx: b22443/Win (Last recommended also)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions