Hi, first time post here.
I was wondering if there is a possible way to make a custom group for Pointshop through ULX, this group would allow people to buy certain skins from the shop that no other person can. Sort of like a VIP group, where only these VIPs can buy certain skins which are not avaliable to others.
So far I've tried adding a custom group to ULX through the groups.txt file, and also added the following line of code to it:
}
"VIP"
{
"allow"
{
}
"inherit_from" "guest"
This was used to create the custom group.
I have also added this line of code to the lua. file for the player model:
ITEM.AllowedUserGroups = { "VIP" }
In theory this should work right, I should be able to add someone to the VIP group and they should be able to buy the skin from the shop? Well I've tried this already, and when added I still get a message blocking me from buying the skin, telling me that "I am in the wrong group".
One final thing I've encountered is that as soon as a VIP leaves the server, when they next join they will be reset back to the guest/user default group.
Any help here?
Thanks in adv.