BLIP_REMOVE_MODIFIER
If modifierHash is 0, ALL modifiers will be removed.
Hash
0xB059D7BD3D78C16FRuntime name
BlipRemoveModifierNamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL BLIP_REMOVE_MODIFIER(Blip blip, Hash modifierHash);Parameters
| Name | Type | Description |
|---|---|---|
blip | Blip | — |
modifierHash | Hash | — |
Returns BOOL
Description
If modifierHash is 0, ALL modifiers will be removed.
Usage
local retval = BlipRemoveModifier(blip, modifierHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB059D7BD3D78C16F, blip, modifierHash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = BlipRemoveModifier(blip, modifierHash);
// by hash
const retval = Citizen.invokeNative('0xB059D7BD3D78C16F', blip, modifierHash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB059D7BD3D78C16F, blip, modifierHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.