HUDClient

getBlipFromEntity

GET_BLIP_FROM_ENTITY0xBC8DBDCA2436F7E8

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

SignatureJavaScript
getBlipFromEntity(entity: Entity): Blip
SignatureLua
getBlipFromEntity(entity: Entity): Blip

Usage

JavaScript
const blip = getBlipFromEntity(entity);
Lua
local blip = getBlipFromEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Blip JavaScript number, Lua integer

Handle of a map blip.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns the Blip handle of given Entity.

Reference

Namespace
HUD HUD
In the game
Blip GET_BLIP_FROM_ENTITY(Entity entity)
Hash
0xBC8DBDCA2436F7E8

Open in the interactive natives reference