I created a oxide group which is called "kits.gold" i.e, when a user purchases gold package he is then placed in group kits.gold which i get confirmation of through the console. But the kit which has permission kits.gold is still unavailable to the user..
In console:
Player 'RandomPlayerName(7611111111111111(steam id cencored))' added to group: kits.gold
Permissions to kit named gold is "kits.gold"... shouldnt RandomPlayerName have access to that kit?
Since creating oxide groups for kits i get these errors in console, and it is beyond me to figure out what is wrong and where.. so i guess i have two questions which i hope someone is able to help me with?
In console:
Player 'RandomPlayerName(7611111111111111(steam id cencored))' added to group: kits.gold
Permissions to kit named gold is "kits.gold"... shouldnt RandomPlayerName have access to that kit?
Since creating oxide groups for kits i get these errors in console, and it is beyond me to figure out what is wrong and where.. so i guess i have two questions which i hope someone is able to help me with?
Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.93' (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x009a8] in <01b27f119dee43a4b47f22cd01dbe8f3>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <01b27f119dee43a4b47f22cd01dbe8f3>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.93' (FormatException: Input string was not in a correct format.)
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in :0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in :0
at System.Int32.Parse (System.String s) [0x00007] in :0
at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x009a8] in <01b27f119dee43a4b47f22cd01dbe8f3>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <01b27f119dee43a4b47f22cd01dbe8f3>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0