HUDClient

setBlipCoords

SET_BLIP_COORDS0xAE2AF67E9D9AF65D

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

SignatureJavaScript
setBlipCoords(blip: Blip, posX: number, posY: number, posZ: number): void
SignatureLua
setBlipCoords(blip: Blip, posX: number, posY: number, posZ: number)

Usage

JavaScript
setBlipCoords(blip, posX, posY, posZ);
Lua
setBlipCoords(blip, posX, posY, posZ)

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
setBlipCoords(blip, pos);
Lua · with vectors
setBlipCoords(blip, pos)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
posXfloatnumbernumber
posYfloatnumbernumber
posZfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_COORDS(Blip blip, float posX, float posY, float posZ)
Hash
0xAE2AF67E9D9AF65D

Open in the interactive natives reference