BLIP_ADD_MODIFIER
Adds the modifier modifierHash (for example a color or state) to blip and returns a success flag.
Signature
BOOL BLIP_ADD_MODIFIER(Blip blip, Hash modifierHash); // 0x662D364ABF16DE2F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | blip | Blip |
| 2 | modifierHash | Hash |
Facts
| Name | BLIP_ADD_MODIFIER |
|---|---|
| Hash | 0x662D364ABF16DE2F |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x662D364ABF16DE2F, -- BLIP_ADD_MODIFIER
0, -- Blip blip
GetHashKey("name") -- Hash modifierHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x662D364ABF16DE2F", // BLIP_ADD_MODIFIER
0, // Blip blip
GetHashKey("name"), // Hash modifierHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x662D364ABF16DE2F, // BLIP_ADD_MODIFIER
0, // Blip blip
(uint)API.GetHashKey("name") // Hash modifierHash
);Related MAP natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.