I'm trying to create a donator category for pointshop and this error keeps coming up
[CODE]
[ERROR] addons/pointshop-master/lua/pointshop/items/donator/__category.lua:1: attempt to index global 'CATEGORY' (a nil value)
1. unknown - addons/pointshop-master/lua/pointshop/items/donator/__category.lua:1
[/CODE]
Here is the lua file
[CODE]CATEGORY.Name = 'Donator'
CATEGORY.Icon = 'medal_gold_2'
CATEGORY.AllowedUserGroups = { "superadmin", "admin", "donator" }
CATEGORY.Order = 6
[/CODE]
SOLVED: I guess I just had to restart server 2-3 times after adding ITEM.AllowedUserGroups to the pointshop lua of the item
-snip-
And the other Categorys work just fine?
[QUOTE=JasonMan34;48446087]-snip-
And the other Categorys work just fine?[/QUOTE]
Yea the other categorys work fine, this is the only one that doesn't show up on the tabs
Sorry, you need to Log In to post a reply to this thread.