RedM Natives

BLIP_ADD_FOR_RADIUS

Creates a circular area blip. The first argument is the blip style, not a sprite.

Hash0x45F13B7E0A15C880
Runtime nameBlipAddForRadius
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207

Signature

Blip BLIP_ADD_FOR_RADIUS(Hash blipHash, float x, float y, float z, float radius);

Parameters

NameTypeDescription
blipHashHash

Blip style hash, e.g. BLIP_STYLE_AREA_NO_DIM (620596860) or BLIP_STYLE_RADIUS (-1282792512).

xfloat—
yfloat—
zfloat—
radiusfloat—

Returns Blip

Verified notes

Reviewed in this portal's repository · by borderline-rp

BLIP_STYLE_AREA darkens while the player is inside the circle; BLIP_STYLE_AREA_NO_DIM does not. Add BLIP_MODIFIER_AREA_ACCURATE for a sharp edge.

Common style values (signed, as Lua expects):

Style Value
BLIP_STYLE_AREA_NO_DIM 620596860
BLIP_STYLE_AREA 1247852480
BLIP_STYLE_RADIUS -1282792512
BLIP_STYLE_SHOP 168093330
BLIP_STYLE_PICKUP_WEAPON 1664425300 — only visible on the pause map when zoomed in

Verified in game on the Borderline RP server, September 2026.

Usage

Lua
local retval = BlipAddForRadius(blipHash, x, y, z, radius)

-- always works, by hash
local retval = Citizen.InvokeNative(0x45F13B7E0A15C880, blipHash, x, y, z, radius, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = BlipAddForRadius(blipHash, x, y, z, radius);

// by hash
const retval = Citizen.invokeNative('0x45F13B7E0A15C880', blipHash, x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x45F13B7E0A15C880, blipHash, x, y, z, radius);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

See also

Sources

alloc8or RDR3 NativeDB · RedM Natives (verified notes)

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.