HUDClient

setBlipShowCone

SET_BLIP_SHOW_CONE0x13127EC3665E8EE1

The 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.

SignatureJavaScript
setBlipShowCone(blip: Blip, toggle: boolean, hudColorIndex: number): void
SignatureLua
setBlipShowCone(blip: Blip, toggle: boolean, hudColorIndex: integer)

Usage

JavaScript
setBlipShowCone(blip, toggle, hudColorIndex);
Lua
setBlipShowCone(blip, toggle, hudColorIndex)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
toggleBOOLbooleanboolean
hudColorIndexintnumberinteger

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

Open in the interactive natives reference