alexsnowrun / pointlake

Position handler for Garry’s Mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!!!

About

Position handler for Garry’s Mod


Languages

Language:Lua 100.0%