Failed compiling 'Trade.cs':
1. The type or namespace name 'OnlinePlayersAttribute' could not be found (are you missing a using directive or an assembly reference?) [CS0246]
(Trade 10 line 63)
Error message when attempt to load plugin.
Plugin not compiling in Carbon Server
You can find a working version for carbon in the carbon discord, i'll link it here on pastebin
Thanks for the heads up DarkMark
DarkMarkYou can find a working version for carbon in the carbon discord, i'll link it here on pastebin
This no longer works on Carbon for my server I get these errors
Failed executing chat command 'trade' in 'Trade v1.2.44 by Calytic' [callback] (Object reference not set to an instance of an object)
at void Oxide.Plugins.Trade.OpenBox(BasePlayer player, BaseEntity target) in /home/container/carbon/plugins/Trade.cs:line 980
at void Oxide.Plugins.Trade.StartTrade(BasePlayer source, BasePlayer target, OpenTrade trade) in /home/container/carbon/plugins/Trade.cs:line 966
at void Oxide.Plugins.Trade.StartTrades(BasePlayer source, BasePlayer target) in /home/container/carbon/plugins/Trade.cs:line 958
at void Oxide.Plugins.Trade.AcceptTrade(BasePlayer player) in /home/container/carbon/plugins/Trade.cs:line 949
at void Oxide.Plugins.Trade.cmdTrade(BasePlayer player, string command, string[] args) in /home/container/carbon/plugins/Trade.cs:line 491
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)