coordsdefaults to the local player.maxDistancedefaults to unlimited. Lists are sorted closest first. Nothing found returnsnil.- Peds skip the local player always, and player peds unless
includePlayers = true.excludeskips one handle. - Players skip the local player unless
includeSelf = true. A player is{ playerId, serverId, ped, distance }.
Example
client.lua