Well I looks though a lot of pages and i'm not gonna look through all 500 pages since it would take to long.
I'm using point shop and want some items to be donator only and maybe some gears for T and D, possibly some spawned items.
I got really lost at this point. I know I can make skins for admin by adding
ITEM.AdminOnly = true
But not sure how to do this for donors. If someone could help. I beg you please help.
[QUOTE=jarikfw;39375785]try this: ITEM.DonatorOnly = true
ITEM.VIPOnly = true
ITEM.VipOnly = true[/QUOTE]
What...
Just What...
In what way would this work? Without some checking, somewhere along the line.
Maybe it's for a addon that he has and that's all you need to do? Just being generous here, benefit of the doubt.
I don't have any addons except for the ULX mod
Okay. Does the Donator items has something to do with the [lua]InLoadoutFor =[/lua]?
Make a category named donator, or tab similar to the others, trails etc. And set the only usergroups that are able to view it your donator groups and add the items to that category.
[QUOTE=Creighmoe;41662339]Okay. Does the Donator items has something to do with the [lua]InLoadoutFor =[/lua]?[/QUOTE]
You've had 6 months to figure this out.
use ITEM.AllowedUserGroups = { "donator", "bad googler" }
Oh. Never realized there was a way to do that, thanks rejax.
I know rejax. But I stopped hosting a server for that time and started up again. Anyways thank you for the help. It's really appreciated.
EDIT: Okay so how do I get the katana to spawn in instead of the crowbar? I've got this error in the script [lua][ERROR] lua/weapons/weapon_katana/shared.lua:58: attempt to index global 'ITEM' (a nil value)
1. unknown - lua/weapons/weapon_katana/shared.lua:58[/lua]
Sorry, you need to Log In to post a reply to this thread.