HUDClient

customMinimapSetBlipObject

CUSTOM_MINIMAP_SET_BLIP_OBJECT0x1EAE6DD17B7A5EFA

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

SignatureJavaScript
customMinimapSetBlipObject(spriteId: number): void
SignatureLua
customMinimapSetBlipObject(spriteId: integer)

Usage

JavaScript
customMinimapSetBlipObject(spriteId);
Lua
customMinimapSetBlipObject(spriteId)

Parameters

ParameterTypeJavaScriptLua
spriteIdintnumberinteger

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.

Sets the sprite of the next BLIP_GALLERY blip, values used in the native scripts: 143 (ObjectiveBlue), 144 (ObjectiveGreen), 145 (ObjectiveRed), 146 (ObjectiveYellow).

Reference

Namespace
HUD HUD
In the game
void CUSTOM_MINIMAP_SET_BLIP_OBJECT(int spriteId)
Hash
0x1EAE6DD17B7A5EFA
Formerly
_RACE_GALLERY_NEXT_BLIP_SPRITE

Open in the interactive natives reference