• Print

Author Topic: Out of ulx  (Read 5610 times)

0 Members and 1 Guest are viewing this topic.

Offline 3RB

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Out of ulx
« on: September 04, 2015, 11:24:25 am »
Is tgere a way that i can make pointshop items for owner only or for some admin ranks only other admin ranks cant buy it?

Offline alewis7

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Out of ulx
« Reply #1 on: September 05, 2015, 03:31:45 am »
ITEM.Name = 'Put Name Here'
ITEM.Price = 100
ITEM.Model = '.mdl'
ITEM.Attachment = 'eyes'
ITEM.AdminOnly = true

Make sure you have this last part (ITEM.AdminOnly = true), and it will make it for admin's only.


 :P :P :P :P :P :P :P :P :P :P :P :P ;)

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Out of ulx
« Reply #2 on: September 06, 2015, 01:11:58 am »
Code: Lua
  1. ITEM.AllowedUserGroups = { "admin", "vip" }

Commas between each group and "" around each group. There is no inheritance check so you need to add EXACTLY what groups you want.
Once you get to know me, you'll find you'll have never met me at all.

Offline 3RB

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Re: Out of ulx
« Reply #3 on: September 06, 2015, 10:18:03 pm »
So where can i put this text and give and i want it only for owner group :P

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Out of ulx
« Reply #4 on: September 06, 2015, 10:32:38 pm »
Code: Lua
  1. ITEM.Name = 'Put Name Here'
  2. ITEM.Price = 100
  3. ITEM.Model = '.mdl'
  4.  
  5. ITEM.AllowedUserGroups = { "owner" }

Under all the rest of the pointshop item config.
Once you get to know me, you'll find you'll have never met me at all.

  • Print