ShowOutlineIndicatorOnBlip
DocsShowOutlineIndicatorOnBlip(blip, toggle)Description
Toggles a cyan outline around the blip.
Color can be changed with <code>SET_BLIP_SECONDARY_COLOUR</code>. Enabling this circle will override the "crew" and "friend" half-circles (see <code>SHOW_CREW_INDICATOR_ON_BLIP</code> and <code>SHOW_FRIEND_INDICATOR_ON_BLIP</code>).
Parameters
| Name | Type | Description |
|---|---|---|
blip | Blip | The blip to toggle the outline on. |
toggle | BOOL | Enables or disables the outline. |
Quick Snippet: Create Blipblip
blipUse this to create or reference a map blip for this native.
-- Create a blip at the player's position
local coords = GetEntityCoords(PlayerPedId())
local blip = AddBlipForCoord(coords.x, coords.y, coords.z)
SetBlipSprite(blip, 1) -- Standard blip icon
SetBlipColour(blip, 1) -- Red color
SetBlipScale(blip, 0.8)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentSubstringPlayerName("My Blip")
EndTextCommandSetBlipName(blip)
print("Blip created: " .. blip)Returns
voidThis native does not return a value.