_SET_OBJECT_BURN_LEVEL
Sets how burnt the object looks, optionally also affecting its ash.
Signature
void _SET_OBJECT_BURN_LEVEL(Object object, float burnLevel, BOOL affectAsh); // 0x2797C633DCDBBAC5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | object | Object |
| 2 | burnLevel | float |
| 3 | affectAsh | BOOL |
Facts
| Name | _SET_OBJECT_BURN_LEVEL |
|---|---|
| Hash | 0x2797C633DCDBBAC5 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2797C633DCDBBAC5, -- _SET_OBJECT_BURN_LEVEL
0, -- Object object
0.0, -- float burnLevel
false -- BOOL affectAsh
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2797C633DCDBBAC5", // _SET_OBJECT_BURN_LEVEL
0, // Object object
0.0, // float burnLevel
false // BOOL affectAsh
);Function.Call((Hash)0x2797C633DCDBBAC5, // _SET_OBJECT_BURN_LEVEL
0, // Object object
0.0f, // float burnLevel
false // BOOL affectAsh
);Related OBJECT natives
- _SET_OBJECT_BURN_INTENSITY
- _SET_OBJECT_BURN_OPACITY
- _SET_OBJECT_BURN_SPEED
- _SET_OBJECT_BREAK_SCALE
- _SET_OBJECT_INTERACTION_PRESET
- _SET_OBJECT_KICKABLE
- _SET_OBJECT_LANTERN_LIGHT_DISABLED
- _SET_OBJECT_MARKABLE_IN_DEADEYE
- _SET_OBJECT_PROMPT_NAME
- _SET_OBJECT_PROMPT_NAME_FROM_GXT_ENTRY
- _SET_OBJECT_TARGETTABLE_2
- _SET_OBJECT_TARGETTABLE_FOCUS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.