addBlipForRadius
ADD_BLIP_FOR_RADIUS0x46818D79B1F7499AThe GTA V native ADD_BLIP_FOR_RADIUS of the HUD namespace, as LS:MP client scripts call it: the global function addBlipForRadius, in JavaScript and in Lua.
addBlipForRadius(
posX: number,
posY: number,
posZ: number,
radius: number
): BlipaddBlipForRadius(
posX: number,
posY: number,
posZ: number,
radius: number
): BlipUsage
JavaScript
const blip = addBlipForRadius(posX, posY, posZ, radius);Lua
local blip = addBlipForRadius(posX, posY, posZ, radius)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 blip = addBlipForRadius(pos, radius);Lua · with vectors
local blip = addBlipForRadius(pos, radius)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
posX | float | number | number |
posY | float | number | number |
posZ | float | number | number |
radius | float | number | number |
Returns
Blip JavaScript number, Lua integerHandle of a map blip.
Reference
- Namespace
- HUD HUD
- In the game
Blip ADD_BLIP_FOR_RADIUS(float posX, float posY, float posZ, float radius)- Hash
0x46818D79B1F7499A