The Lab
ANIMSCENE native

_GET_ANIM_SCENE_PED

returns Ped3 paramsbuild 1207

Returns the ped bound to the slot name in animScene.

Signature

C
Ped _GET_ANIM_SCENE_PED(AnimScene animScene, const char* name, BOOL isNetwork); // 0xE5822422197BBBA3 b1207

Parameters

#NameType
1animSceneAnimScene
2nameconst char*
3isNetworkBOOL

Facts

Facts about _GET_ANIM_SCENE_PED
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.

Lua
local ped = Citizen.InvokeNative(0xE5822422197BBBA3, -- _GET_ANIM_SCENE_PED
  0, -- AnimScene animScene
  "text", -- const char* name
  false, -- BOOL isNetwork
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xE5822422197BBBA3", // _GET_ANIM_SCENE_PED
  0, // AnimScene animScene
  "text", // const char* name
  false, // BOOL isNetwork
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xE5822422197BBBA3, // _GET_ANIM_SCENE_PED
  0, // AnimScene animScene
  "text", // const char* name
  false // BOOL isNetwork
);
All ANIMSCENE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.