Skip to content

Commit

Permalink
Fix issues with SET_RADIUS_BLIP_EDGE (#926)
Browse files Browse the repository at this point in the history
* Add more info

* Update `SET_RADIUS_BLIP_EDGE` image

* Update description for `SET_RADIUS_BLIP_EDGE`

* Further fixes from `4mmonium`'s feedback

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
Z3rio and 4mmonium authored Nov 15, 2023
1 parent cdfdfb5 commit 462ec33
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions HUD/SetRadiusBlipEdge.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,21 @@ aliases: ["0x25615540D894B814"]
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.
Please note that this only works on a **radius** blip (i.e. one generated using [`ADD_BLIP_FOR_RADIUS`](#_0x46818D79B1F7499A)), not a normal blip.
**Example result:**
![example-image](https://i.imgur.com/hS6ki7p.png)
## Parameters
* **blip**:
* **toggle**:
* **blip**: The blip handle
* **toggle**: Whether to turn off or on the effect
## Examples
```lua
local coords = GetEntityCoords(PlayerPedId())
local radiusBlip = AddBlipForRadius(coords, 100.0) -- need to have .0
SetBlipColour(radiusBlip, 1)
SetBlipAlpha(radiusBlip, 255)
SetRadiusBlipEdge(radiusBlip, true)
```

0 comments on commit 462ec33

Please sign in to comment.