function
getNearestWaypoint (client-side)
Available since version: 0.1.4
This function is used to retrieve the information about nearest waypoint from the specified position.
Declaration
{name, x, y, z} getNearestWaypoint(int x, int y, int z)
Parameters
int
x: the position in the world on the x axis.int
y: the position in the world on the y axis.int
z: the position in the world on the z axis.
Returns {name, x, y, z}
Waypoint information.