Hey,
So I'm currently using this pointshop - [url]http://www.facepunch.com/showthread.php?t=1286577[/url] And I need help!
So, we have a admin section which only admins can buy the stuff within it. However we use 3 VIP ranks. The regular vip is actually the default ulx operator rank, it just has a chat tag saying VIP instead of operator. Our other 2 VIP ranks inherit from the operator rank, so what I'm wondering is. How can I make it so a item is only avaliable to buy if you're a operator or above?
Many thanks!
Read the Manual for [URL="http://pointshop.burt0n.net/items/properties#allowed-user-groups"] Items[/URL] or [URL="http://pointshop.burt0n.net/categories/properties#allowed-user-groups"]Categories[/URL]
[CODE]ITEM.AllowedUserGroups = { Operator, [Insert group], [Insert group] --- And so on and so on how many groups you want }[/CODE]
This should work
EDIT: Ninja'd :(
[QUOTE=JasonMan34;45602930][CODE]ITEM.AllowedUserGroups = { Operator, [Insert group], [Insert group] --- And so on and so on how many groups you want }[/CODE]
This should work
EDIT: Ninja'd :([/QUOTE]
[CODE]ITEM.AllowedUserGroups = { "operator", "superadmin", "admin", "donator" } --snip comment so that it isn't offensive--. [/CODE]
Ranks need to be exactly as they are in-game (capital wise) and have to be used in quotations AND you didn't end the table (you ended it in your comment so it never ended it.)
Edit: You added triple dashes instead of double dashes for the comment
Edit 2: Sorry to sound condescending
[QUOTE=Aeternal;45604093][CODE]ITEM.AllowedUserGroups = { "operator", "superadmin", "admin", "donator" } --Correct version. [/CODE]
Ranks need to be exactly as they are in-game (capital wise) and have to be used in quotations AND you didn't end the table (you ended it in your comment so it never ended it.)
Edit: You added triple dashes instead of double dashes for the comment[/QUOTE]
Oh I'm sorry do you have that in a more condecending way? I'm just not quite satisfied with how useless your comment is apart from the code
Sorry, you need to Log In to post a reply to this thread.