RedM Natives

BLIP_ADD_FOR_ENTITY

Hash0x23F74C2FDA6E7C61
Runtime nameBlipAddForEntity
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207

Signature

Blip BLIP_ADD_FOR_ENTITY(Hash blipHash, Entity entity);

Parameters

NameTypeDescription
blipHashHash—
entityEntity—

Returns Blip

Usage

Lua
local retval = BlipAddForEntity(blipHash, entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x23F74C2FDA6E7C61, blipHash, entity, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = BlipAddForEntity(blipHash, entity);

// by hash
const retval = Citizen.invokeNative('0x23F74C2FDA6E7C61', blipHash, entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x23F74C2FDA6E7C61, blipHash, entity);
  • 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`.

Sources

alloc8or RDR3 NativeDB

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