Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with SET_RADIUS_BLIP_EDGE #926

Merged
merged 6 commits into from
Nov 15, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions HUD/SetRadiusBlipEdge.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ns: HUD
aliases: ["0x25615540D894B814"]
---

## SET_RADIUS_BLIP_EDGE

```c
Expand All @@ -10,10 +11,24 @@ void SET_RADIUS_BLIP_EDGE(Blip blip, BOOL toggle);
```

```
Enabling this on a radius blip will make it outline only. See https://cdn.discordapp.com/attachments/553235301632573459/575132227935928330/unknown.png
Enabling this on a radius blip will make it outline only. See https://imgur.com/a/lNMfySU

Please note that this only works on a **radius** blip, not a normal blip.
```

## Parameters
* **blip**:
* **toggle**:

- **blip**: The actual blip id
- **toggle**: Whether to turn off or on the effect

## Example

Note how this is a radius blip and not a normal blip.

```lua
local coords = GetEntityCoords(PlayerPedId())
local radiusBlip = AddBlipForRadius(coords, 100.0) -- need to have .0
SetBlipColour(radiusBlip, 1)
SetBlipAlpha(radiusBlip, 255)
SetRadiusBlipEdge(radiusBlip, true)
```
Loading