HUDClient

setBlipSecondaryColour

SET_BLIP_SECONDARY_COLOUR0x14892474891E09EB

The GTA V native SET_BLIP_SECONDARY_COLOUR of the HUD namespace, as LS:MP client scripts call it: the global function setBlipSecondaryColour, in JavaScript and in Lua.

SignatureJavaScript
setBlipSecondaryColour(blip: Blip, r: number, g: number, b: number): void
SignatureLua
setBlipSecondaryColour(blip: Blip, r: integer, g: integer, b: integer)

Usage

JavaScript
setBlipSecondaryColour(blip, r, g, b);
Lua
setBlipSecondaryColour(blip, r, g, b)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
rintnumberinteger
gintnumberinteger
bintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Can be used to give blips any RGB colour with setBlipColour(blip, 84).

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_SECONDARY_COLOUR(Blip blip, int r, int g, int b)
Hash
0x14892474891E09EB

Open in the interactive natives reference