WAYPOINT_RECORDING_GET_SPEED_AT_POINT
Returns the recorded speed at waypoint point of waypointRecording.
Signature
float WAYPOINT_RECORDING_GET_SPEED_AT_POINT(const char* waypointRecording, int point); // 0x005622AEBC33ACA9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | waypointRecording | const char* |
| 2 | point | int |
Facts
| Name | WAYPOINT_RECORDING_GET_SPEED_AT_POINT |
|---|---|
| Hash | 0x005622AEBC33ACA9 |
| 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(0x005622AEBC33ACA9, -- WAYPOINT_RECORDING_GET_SPEED_AT_POINT
"text", -- const char* waypointRecording
0, -- int point
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x005622AEBC33ACA9", // WAYPOINT_RECORDING_GET_SPEED_AT_POINT
"text", // const char* waypointRecording
0, // int point
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x005622AEBC33ACA9, // WAYPOINT_RECORDING_GET_SPEED_AT_POINT
"text", // const char* waypointRecording
0 // int point
);Related TASK natives
- WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
- WAYPOINT_RECORDING_GET_COORD
- WAYPOINT_RECORDING_GET_NUM_POINTS
- WAYPOINT_PLAYBACK_GET_IS_AIMING
- WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_PLAYBACK_GET_IS_SHOOTING
- WAYPOINT_PLAYBACK_OVERRIDE_SPEED
- WAYPOINT_PLAYBACK_START_AIMING_AT_COORD
- WAYPOINT_PLAYBACK_START_AIMING_AT_ENTITY
- WAYPOINT_PLAYBACK_START_AIMING_AT_PED
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_COORD
- WAYPOINT_PLAYBACK_START_SHOOTING_AT_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.