The Lab
ANIMSCENE native

GET_ANIM_SCENE_INT

returns int2 paramsbuild 1207

Returns the value of the integer scene variable name in animScene.

Signature

C
int GET_ANIM_SCENE_INT(AnimScene animScene, const char* name); // 0x2B7277484CC095FD b1207

Parameters

#NameType
1animSceneAnimScene
2nameconst char*

Facts

Facts about GET_ANIM_SCENE_INT
Name
GET_ANIM_SCENE_INT
Hash
0x2B7277484CC095FD
Namespace
Returns
int
Game build
1207

Examples

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

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

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