_GET_ANIM_SCENE_PED
Returns the ped bound to the slot name in animScene.
Signature
Ped _GET_ANIM_SCENE_PED(AnimScene animScene, const char* name, BOOL isNetwork); // 0xE5822422197BBBA3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
| 2 | name | const char* |
| 3 | isNetwork | BOOL |
Facts
| Name | _GET_ANIM_SCENE_PED |
|---|---|
| Hash | 0xE5822422197BBBA3 |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xE5822422197BBBA3, -- _GET_ANIM_SCENE_PED
0, -- AnimScene animScene
"text", -- const char* name
false, -- BOOL isNetwork
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xE5822422197BBBA3", // _GET_ANIM_SCENE_PED
0, // AnimScene animScene
"text", // const char* name
false, // BOOL isNetwork
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xE5822422197BBBA3, // _GET_ANIM_SCENE_PED
0, // AnimScene animScene
"text", // const char* name
false // BOOL isNetwork
);Related ANIMSCENE natives
- _GET_ANIM_SCENE_PLAYBACK_LIST_PHASE_AUDIO_LOAD_STRESS
- _GET_ANIM_SCENE_DICT
- _GET_ANIM_SCENE_DURATION
- _GET_ANIM_SCENE_OBJECT
- _GET_ANIM_SCENE_RATE
- _GET_ANIM_SCENE_TIME
- _GET_ANIM_SCENE_VEHICLE
- GET_ANIM_SCENE_BOOL
- GET_ANIM_SCENE_CURRENT_ACTIVE_CAMERA_COUNT
- GET_ANIM_SCENE_ENTITY_LOCATION_DATA
- GET_ANIM_SCENE_FLOAT
- GET_ANIM_SCENE_INT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.