setBlipShowCone
SET_BLIP_SHOW_CONE0x13127EC3665E8EE1The GTA V native SET_BLIP_SHOW_CONE of the HUD namespace, as LS:MP client scripts call it: the global function setBlipShowCone, in JavaScript and in Lua.
setBlipShowCone(blip: Blip, toggle: boolean, hudColorIndex: number): voidsetBlipShowCone(blip: Blip, toggle: boolean, hudColorIndex: integer)Usage
JavaScript
setBlipShowCone(blip, toggle, hudColorIndex);Lua
setBlipShowCone(blip, toggle, hudColorIndex)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
toggle | BOOL | boolean | boolean |
hudColorIndex | 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.
As of b2189, the third parameter sets the color of the cone (before b2189 it was ignored). Note that it uses HUD colors, not blip colors.
Reference
- Namespace
- HUD HUD
- In the game
void SET_BLIP_SHOW_CONE(Blip blip, BOOL toggle, int hudColorIndex)- Hash
0x13127EC3665E8EE1