Garry's Mod Wiki


  Vector NextBot:FindSpot( string type, table options )


Like NextBot:FindSpots but only returns a vector.


1 string type
Either "random", "near", "far".
2 table options
This table should contain the search info.
  • string type - The type (Only hiding for now)
  • Vector pos - the position to search.
  • number radius - the radius to search.
  • number stepup - the highest step to step up.
  • number stepdown - the highest we can step down without being hurt.


1 Vector
If it finds a spot it will return a vector. If not it will return nil.