Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 789 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 789 Bytes

pointlake

Position handler for Garry’s Mod

Logo

This addon gives you an ability to create and save position groups. You can use them in your code by the time.

How to use:

  1. Choose a PointLake toolgun in spawnmenu.
  2. Create a new group and click the group node on the tree.
  3. Press LMB or RMB to make a position for current group.

If you want to remove a position, you can press R or RMB on the node of position.

Provided API:

  1. Get a group of positions: PointLake.GetGroupPositions(string Groupname)
  2. Get a random position from group: PointLake.GetRandomPosition(string Groupname)
  3. Get a certain position: PointLake.GetPosition( Groupname,string/number PositionName)

!!!DOES NOT WORK IN SINGLEPLAYER!!!