IS_ANIM_SCENE_IN_SECTION
Returns true if animScene is currently playing the section sectionName.
Signature
BOOL IS_ANIM_SCENE_IN_SECTION(AnimScene animScene, const char* sectionName, BOOL p2); // 0x8D81E7824B7753F7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
| 2 | sectionName | const char* |
| 3 | p2 | BOOL |
Facts
| Name | IS_ANIM_SCENE_IN_SECTION |
|---|---|
| Hash | 0x8D81E7824B7753F7 |
| 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(0x8D81E7824B7753F7, -- IS_ANIM_SCENE_IN_SECTION
0, -- AnimScene animScene
"text", -- const char* sectionName
false -- BOOL p2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x8D81E7824B7753F7", // IS_ANIM_SCENE_IN_SECTION
0, // AnimScene animScene
"text", // const char* sectionName
false, // BOOL p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x8D81E7824B7753F7, // IS_ANIM_SCENE_IN_SECTION
0, // AnimScene animScene
"text", // const char* sectionName
false // BOOL p2
);Related ANIMSCENE natives
- IS_ANIM_SCENE_EXITING_THIS_FRAME
- IS_ANIM_SCENE_FINISHED
- IS_ANIM_SCENE_LOADED
- IS_ANIM_SCENE_METADATA_LOADED
- IS_ANIM_SCENE_RUNNING
- _IS_ANIM_SCENE_METADATA_ASSET_IN_RANGE_LOADING
- IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME
- IS_ENTITY_PLAYING_ANIM_SCENE
- _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
- _IS_ANIM_SCENE_ABORTED
- _IS_ANIM_SCENE_LOADING
- _IS_ANIM_SCENE_PAUSED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.