Get the id, ped, and coords of the closest player to a set of coordinates.
function lib.getClosestPlayer(coords, maxDistance, includePlayer) end
- The coords to check from.
- The max distance to check.
- Whether or not to include the current player.