Client-side functionsGame Static ObjectsTaskwaypointRecordingGetClosestWaypointOn this pageTask::waypointRecordingGetClosestWaypointClient-side function JavaScript Required Params name: string x: number y: number z: number Return value number Syntax mp.game.task.waypointRecordingGetClosestWaypoint(name, x, y, z) Example //todo