ShowCrewIndicatorOnBlip
DocsShowCrewIndicatorOnBlip(blip, toggle)Description
Enables or disables the blue half circle  around the specified blip on the left side of the blip. This is used to indicate that the player is in your crew in GTA:O. Color is changeable by using <code>SET_BLIP_SECONDARY_COLOUR</code>.
To toggle the right side of the circle use: <code>SHOW_FRIEND_INDICATOR_ON_BLIP</code>.
Example code result:

Parameters
| Name | Type | Description |
|---|---|---|
blip | Blip | The blip to toggle the half blue circle around the blip on. |
toggle | BOOL | Enables or disables the half blue circle around the blip (on the left side). |
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.
Examples
Official
local player = 1 -- make sure this is an actual player, dont just use this example code!
local blip = GetBlipFromEntity(GetPlayerPed(player))
-- Toggle the crew display.
ShowCrewIndicatorOnBlip(blip, true)
-- Set the crew circle color.
-- hud color 18 seems to be the closest color to the green crew color from GTA:O.
SetBlipSecondaryColour(blip, GetHudColour(18))
-- Result: https://i.imgur.com/iZ9tNWl.png