HUDClient

getMainPlayerBlipId

GET_MAIN_PLAYER_BLIP_ID0xDCD4EC3F419D02FA

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

SignatureJavaScript
getMainPlayerBlipId(): Blip
SignatureLua
getMainPlayerBlipId(): Blip

Usage

JavaScript
const blip = getMainPlayerBlipId();
Lua
local blip = getMainPlayerBlipId()

Parameters

None.

Returns

Blip JavaScript number, Lua integer

Handle of a map blip.

Reference

Namespace
HUD HUD
In the game
Blip GET_MAIN_PLAYER_BLIP_ID()
Hash
0xDCD4EC3F419D02FA

Open in the interactive natives reference