_BLIP_SET_STYLE
Replaces the style of blip with styleHash and returns a success flag.
Signature
BOOL _BLIP_SET_STYLE(Blip blip, Hash styleHash); // 0xEDD964B7984AC291 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | blip | Blip |
| 2 | styleHash | Hash |
Facts
| Name | _BLIP_SET_STYLE |
|---|---|
| Hash | 0xEDD964B7984AC291 |
| 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(0xEDD964B7984AC291, -- _BLIP_SET_STYLE
0, -- Blip blip
GetHashKey("name") -- Hash styleHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xEDD964B7984AC291", // _BLIP_SET_STYLE
0, // Blip blip
GetHashKey("name"), // Hash styleHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xEDD964B7984AC291, // _BLIP_SET_STYLE
0, // Blip blip
(uint)API.GetHashKey("name") // Hash styleHash
);Related MAP natives
- _BLIP_ADD_FOR_STYLE
- _BLIP_ADD_STYLE
- _SET_BLIP_FROZEN
- _SET_BLIP_NAME
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_REMOVED
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_WITH_LOCKON
- _SET_DISPLAY_BLIP_ICON_FOR_ENTITY_PROMPT_WITHOUT_LOCKON
- _SET_DISPLAY_BLIP_ICON_TO_LOCKON_ENTITY_PROMPT
- SET_BLIP_COORDS
- SET_BLIP_FLASH_TIMER
- SET_BLIP_FLASHES
- SET_BLIP_NAME_FROM_TEXT_FILE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.