ULX

Author Topic: How to add ulx groups to the pointshop to let the people buy them  (Read 1867 times)

0 Members and 1 Guest are viewing this topic.

Offline deaddevil2299

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Hi Community  :)
I want to add ulx Groups like a "regular player" group to the pointshop with more rights to the let the people buy them when they have enough money.
Does somebody have an idea to add them to the pointshop.
Does somebody have an idea?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: How to add ulx groups to the pointshop to let the people buy them
« Reply #1 on: October 20, 2014, 04:25:16 PM »
http://pointshop.burt0n.net/items/functions#onbuy
http://wiki.garrysmod.com/page/Global/RunConsoleCommand

Console command for adding users is:
ulx adduser <playername> <groupname>

To retrieve the player's name through the pointshop function, you would use ply:Nick().
Out of the Garry's Mod business.