Skip to main content
Client Runs in your resource.
  • coords defaults to the local player. maxDistance defaults to unlimited. Lists are sorted closest first. Nothing found returns nil.
  • Peds skip the local player always, and player peds unless includePlayers = true. exclude skips one handle.
  • Players skip the local player unless includeSelf = true. A player is { playerId, serverId, ped, distance }.

Example

client.lua