RedM Natives

_GET_ANIM_SCENE_OBJECT

Hash0xFB5674687A1B2814
Runtime nameGetAnimSceneObject
NamespaceANIMSCENE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Object _GET_ANIM_SCENE_OBJECT(AnimScene animScene, const char* name, BOOL isNetwork);

Parameters

NameTypeDescription
animSceneAnimScene—
nameconst char*—
isNetworkBOOL—

Returns Object

Usage

Lua
local retval = GetAnimSceneObject(animScene, name, isNetwork)

-- always works, by hash
local retval = Citizen.InvokeNative(0xFB5674687A1B2814, animScene, name, isNetwork, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetAnimSceneObject(animScene, name, isNetwork);

// by hash
const retval = Citizen.invokeNative('0xFB5674687A1B2814', animScene, name, isNetwork, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xFB5674687A1B2814, animScene, name, isNetwork);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.