IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME
Returns true if the scene entity entityName is exiting animScene on the current frame.
Signature
BOOL IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME(AnimScene animScene, const char* entityName); // 0x005E6F28DD7ED58D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
| 2 | entityName | const char* |
Facts
| Name | IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME |
|---|---|
| Hash | 0x005E6F28DD7ED58D |
| 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(0x005E6F28DD7ED58D, -- IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME
0, -- AnimScene animScene
"text" -- const char* entityName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x005E6F28DD7ED58D", // IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME
0, // AnimScene animScene
"text", // const char* entityName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x005E6F28DD7ED58D, // IS_ENTITY_EXITING_ANIM_SCENE_THIS_FRAME
0, // AnimScene animScene
"text" // const char* entityName
);Related ANIMSCENE natives
- IS_ANIM_SCENE_EXITING_THIS_FRAME
- IS_ENTITY_PLAYING_ANIM_SCENE
- COULD_ANIM_SCENE_ENTITY_REACH_EXIT_NEXT_FRAME
- IS_ANIM_SCENE_FINISHED
- IS_ANIM_SCENE_IN_SECTION
- IS_ANIM_SCENE_LOADED
- IS_ANIM_SCENE_METADATA_LOADED
- IS_ANIM_SCENE_RUNNING
- _DOES_ANIM_SCENE_OWNERSHIP_OF_ENTITY_EXIST
- _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
- _HAS_ENTITY_ENTERED_ANIM_SCENE
- _IS_ANIM_SCENE_ABORTED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.