(10:01:18) | [Oxide] 10:01 [Error] Failed to call hook 'GiveCommand' on plugin 'Give v3.0.2' (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 <a8ed250850854b439cedc18931a314fe>:0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <a8ed250850854b439cedc18931a314fe>:0
at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0
at System.Convert.ToInt32 (System.String value) [0x0000b] in <a8ed250850854b439cedc18931a314fe>:0
at Oxide.Plugins.Give.GiveCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00050] in <6a96c0e25d7c40259dbf1bebb5893b0b>:0
at Oxide.Plugins.Give.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00255] in <6a96c0e25d7c40259dbf1bebb5893b0b>: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 FormatException in GiveCommandFixed
Also getting this when trying to give a kit
Failed to call hook 'GiveCommand' on plugin 'Give v3.0.2' (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, System.IFormatProvider provider) [0x00008] in :0 at System.Convert.ToInt32 (System.String value) [0x0000b] in :0 at Oxide.Plugins.Give.GiveCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00050] in <79aada88bf43481e864a2305dd8b2f49>:0 at Oxide.Plugins.Give.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00255] in <79aada88bf43481e864a2305dd8b2f49>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
Could you provide exact command usage?
When I use "give glasiore wood 1000" it gives this but when I use it in a correct way "give wood 1000 glasiore" it works.
Gotcha, will handle that.
Should be fixed in the latest version.
Locked automatically