Ulysses
Home
Help
Ulysses
»
General
»
Developers Corner
»
Out of ulx
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Out of ulx (Read 5610 times)
0 Members and 1 Guest are viewing this topic.
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?
Logged
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.
Logged
Caustic Soda-Senpai
Sr. Member
Posts: 469
Karma: 54
<Insert something clever here>
Re: Out of ulx
«
Reply #2 on:
September 06, 2015, 01:11:58 am »
Code: Lua
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.
Logged
Once you get to know me, you'll find you'll have never met me at all.
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
Logged
Caustic Soda-Senpai
Sr. Member
Posts: 469
Karma: 54
<Insert something clever here>
Re: Out of ulx
«
Reply #4 on:
September 06, 2015, 10:32:38 pm »
Code: Lua
ITEM
.
Name
=
'Put Name Here'
ITEM
.
Price
=
100
ITEM
.
Model
=
'.mdl'
ITEM
.
AllowedUserGroups
=
{
"owner"
}
Under all the rest of the pointshop item config.
Logged
Once you get to know me, you'll find you'll have never met me at all.
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
General
»
Developers Corner
»
Out of ulx