function getNextNearestWaypoint (client-side)
Available since version: 0.3.0
This function will return the second nearest waypoint for a given position.
Declaration
{name, x, y, z}|nil getNextNearestWaypoint(number x, number y, number z)
Parameters
numberx: Position X.numbery: Position Y.numberz: Position Z.
Returns {name, x, y, z}|nil
Waypoint information table or nil.