setBlipSecondaryColour
SET_BLIP_SECONDARY_COLOUR0x14892474891E09EBThe 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.
setBlipSecondaryColour(blip: Blip, r: number, g: number, b: number): voidsetBlipSecondaryColour(blip: Blip, r: integer, g: integer, b: integer)Usage
JavaScript
setBlipSecondaryColour(blip, r, g, b);Lua
setBlipSecondaryColour(blip, r, g, b)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
r | int | number | integer |
g | int | number | integer |
b | int | number | integer |
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