_CALCULATE_WAYPOINT_DISTANCE_FROM_START
Returns the signed distance along the waypoint recording from its start (first node) to the point on the recording that corresponds to coords need `REQUEST_WAYPOINT_RECORDING`
TASKBuild 1207
Signature
lua
CalculateWaypointDistanceFromStart(waypointRecording, 0.0, 0.0, 0.0)
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| char* | — | |
| float | — | |
| float | — | |
| float | — |
Usage
lua
CalculateWaypointDistanceFromStart(waypointRecording, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
