RedM Natives

BLIP_REMOVE_MODIFIER

If modifierHash is 0, ALL modifiers will be removed.

Hash0xB059D7BD3D78C16F
Runtime nameBlipRemoveModifier
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL BLIP_REMOVE_MODIFIER(Blip blip, Hash modifierHash);

Parameters

NameTypeDescription
blipBlip—
modifierHashHash—

Returns BOOL

Description

If modifierHash is 0, ALL modifiers will be removed.

Usage

Lua
local retval = BlipRemoveModifier(blip, modifierHash)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB059D7BD3D78C16F, blip, modifierHash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = BlipRemoveModifier(blip, modifierHash);

// by hash
const retval = Citizen.invokeNative('0xB059D7BD3D78C16F', blip, modifierHash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB059D7BD3D78C16F, blip, modifierHash);
  • 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.