The Lab
ANIMSCENE native

GET_ANIM_SCENE_FLOAT

returns float2 paramsbuild 1207

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

Signature

C
float GET_ANIM_SCENE_FLOAT(AnimScene animScene, const char* name); // 0xCC24CB07F60B496E b1207

Parameters

#NameType
1animSceneAnimScene
2nameconst char*

Facts

Facts about GET_ANIM_SCENE_FLOAT
Name
GET_ANIM_SCENE_FLOAT
Hash
0xCC24CB07F60B496E
Namespace
Returns
float
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(0xCC24CB07F60B496E, -- GET_ANIM_SCENE_FLOAT
  0, -- AnimScene animScene
  "text", -- const char* name
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xCC24CB07F60B496E", // GET_ANIM_SCENE_FLOAT
  0, // AnimScene animScene
  "text", // const char* name
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xCC24CB07F60B496E, // GET_ANIM_SCENE_FLOAT
  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.