GET_ANIM_SCENE_FLOAT
Returns the value of the float scene variable name in animScene.
Signature
float GET_ANIM_SCENE_FLOAT(AnimScene animScene, const char* name); // 0xCC24CB07F60B496E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
| 2 | name | const char* |
Facts
| 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.
local result = Citizen.InvokeNative(0xCC24CB07F60B496E, -- GET_ANIM_SCENE_FLOAT
0, -- AnimScene animScene
"text", -- const char* name
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0xCC24CB07F60B496E", // GET_ANIM_SCENE_FLOAT
0, // AnimScene animScene
"text", // const char* name
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xCC24CB07F60B496E, // GET_ANIM_SCENE_FLOAT
0, // AnimScene animScene
"text" // const char* name
);Related ANIMSCENE natives
- GET_ANIM_SCENE_BOOL
- GET_ANIM_SCENE_CURRENT_ACTIVE_CAMERA_COUNT
- GET_ANIM_SCENE_ENTITY_LOCATION_DATA
- GET_ANIM_SCENE_INT
- GET_ANIM_SCENE_ORIGIN
- GET_ANIM_SCENE_PHASE
- _GET_ANIM_SCENE_DICT
- _GET_ANIM_SCENE_DURATION
- _GET_ANIM_SCENE_OBJECT
- _GET_ANIM_SCENE_PED
- _GET_ANIM_SCENE_PLAYBACK_LIST_PHASE_AUDIO_LOAD_STRESS
- _GET_ANIM_SCENE_RATE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.