The Lab
ANIMSCENE native

_GET_ANIM_SCENE_OBJECT

returns Object3 paramsbuild 1207

Returns the object bound to the slot name in animScene.

Signature

C
Object _GET_ANIM_SCENE_OBJECT(AnimScene animScene, const char* name, BOOL isNetwork); // 0xFB5674687A1B2814 b1207

Parameters

#NameType
1animSceneAnimScene
2nameconst char*
3isNetworkBOOL

Facts

Facts about _GET_ANIM_SCENE_OBJECT
Name
_GET_ANIM_SCENE_OBJECT
Hash
0xFB5674687A1B2814
Namespace
Returns
Object
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local objectOut = Citizen.InvokeNative(0xFB5674687A1B2814, -- _GET_ANIM_SCENE_OBJECT
  0, -- AnimScene animScene
  "text", -- const char* name
  false, -- BOOL isNetwork
  Citizen.ResultAsInteger()
)
print(objectOut)
JavaScript
const objectOut = Citizen.invokeNative("0xFB5674687A1B2814", // _GET_ANIM_SCENE_OBJECT
  0, // AnimScene animScene
  "text", // const char* name
  false, // BOOL isNetwork
  Citizen.resultAsInteger()
);
console.log(objectOut)
C#
int objectOut = Function.Call<int>((Hash)0xFB5674687A1B2814, // _GET_ANIM_SCENE_OBJECT
  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.