Position handler for Garry’s Mod
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:
- Choose a PointLake toolgun in spawnmenu.
- Create a new group and click the group node on the tree.
- 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:
- Get a group of positions: PointLake.GetGroupPositions(string Groupname)
- Get a random position from group: PointLake.GetRandomPosition(string Groupname)
- Get a certain position: PointLake.GetPosition( Groupname,string/number PositionName)
!!!DOES NOT WORK IN SINGLEPLAYER!!!