HUDClient

customMinimapCreateBlip

CUSTOM_MINIMAP_CREATE_BLIP0x551DF99658DB6EE8

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

SignatureJavaScript
customMinimapCreateBlip(x: number, y: number, z: number): number
SignatureLua
customMinimapCreateBlip(x: number, y: number, z: number): integer

Usage

JavaScript
const result = customMinimapCreateBlip(x, y, z);
Lua
local result = customMinimapCreateBlip(x, y, z)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
const result = customMinimapCreateBlip(pos);
Lua · with vectors
local result = customMinimapCreateBlip(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

int JavaScript number, Lua integer

Notes

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

Add a BLIP_GALLERY at the specific coordinate. Used in fm_maintain_transition_players to display race track points.

Reference

Namespace
HUD HUD
In the game
int CUSTOM_MINIMAP_CREATE_BLIP(float x, float y, float z)
Hash
0x551DF99658DB6EE8
Formerly
_RACE_GALLERY_ADD_BLIP

Open in the interactive natives reference