diff --git a/HUD/SetBlipColour.md b/HUD/SetBlipColour.md index fac155683..5b76fbe87 100644 --- a/HUD/SetBlipColour.md +++ b/HUD/SetBlipColour.md @@ -9,5 +9,16 @@ void SET_BLIP_COLOUR(Blip blip, int color); ``` ## Parameters -* **blip**: -* **color**: See [blip colors here](https://docs.fivem.net/docs/game-references/blips/#blip-colors) +* **blip**: The blip handle to set the color of +* **color**: This can be a hex color code, or a [blip color](https://docs.fivem.net/docs/game-references/blips/#blip-colors). + +## Examples +```lua +local coords = GetEntityCoords(PlayerPedId()) +local blip = AddBlipForCoord(coords.x, coords.y, coords.z) + +SetBlipColour(blip, 1) -- Sets the color to red (see list above) + +-- You can also use a hex like so: +SetBlipColour(blip, 0x3A7F3AFF) -- Our custom green +```