1. Animals
  2. Abilities
  3. Tool/Weapon
  4. Equipped
  5. Items
  6. Attributes
  7. Creatures
  8. Blocks
  9. Props
  10. API

LT_entity_closest

table LT_entity_closest(number w,number x,number y,number z)

Gets the entity closest to the location given. Searches in the specified world for the entity closest to the location given. This function will ignore the current player's entity. If there's no entities in the world, a null will be returned.