customMinimapCreateBlip
CUSTOM_MINIMAP_CREATE_BLIP0x551DF99658DB6EE8The 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.
customMinimapCreateBlip(x: number, y: number, z: number): numbercustomMinimapCreateBlip(x: number, y: number, z: number): integerUsage
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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
Returns
int JavaScript number, Lua integerNotes
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