waypointRecordingGetSpeedAtPoint
WAYPOINT_RECORDING_GET_SPEED_AT_POINT0x005622AEBC33ACA9The GTA V native WAYPOINT_RECORDING_GET_SPEED_AT_POINT of the TASK namespace, as LS:MP client scripts call it: the global function waypointRecordingGetSpeedAtPoint, in JavaScript and in Lua.
waypointRecordingGetSpeedAtPoint(name: string, point: number): numberwaypointRecordingGetSpeedAtPoint(name: string, point: integer): numberUsage
JavaScript
const value = waypointRecordingGetSpeedAtPoint(name, point);Lua
local value = waypointRecordingGetSpeedAtPoint(name, point)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
name | string | string | string |
point | int | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json
Reference
- Namespace
- Tasks TASK
- In the game
float WAYPOINT_RECORDING_GET_SPEED_AT_POINT(const char* name, int point)- Hash
0x005622AEBC33ACA9