Type `ListHashSet<BasePlayer>' does not contain a definition for `ToArray'Not An Issue
Error while compiling: Clans.cs(264,58): error CS1061: Type `ListHashSet<BasePlayer>' does not contain a definition for `ToArray' and no extension method `ToArray' of type `ListHashSet<BasePlayer>' could be found. Are you missing `System.Linq' or `Apex' using directive?
Not this plugin
I have this error
Failed to run a 3.00 timer in 'Clans v0.1.53' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0 50,844 ents, 21 slprs                                                                                     2kb/s in, 13kb/s out
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <a8ed250850854b439cedc18931a314fe>:0
  at ListHashSet`1[T].Contains (T val) [0x00000] in <c4d064b82a9145e894df7306b1fbbd9b>:0
  at Oxide.Game.Rust.Libraries.Player.IsConnected (BasePlayer player) [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Plugins.Clans+Clan.Broadcast (System.String message, System.String sender) [0x00036] in <fb720ab616ef421daac9375110482c7d>:0
  at Oxide.Plugins.Clans+<OnUserConnected>c__AnonStorey0.<>m__0 () [0x000cc] in <fb720ab616ef421daac9375110482c7d>:0
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <b0a93b504f034a0db8b1c3d2503c0987>:0​
Visani
I have this error
Failed to run a 3.00 timer in 'Clans v0.1.53' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0 50,844 ents, 21 slprs                                                                                     2kb/s in, 13kb/s out
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <a8ed250850854b439cedc18931a314fe>:0
  at ListHashSet`1[T].Contains (T val) [0x00000] in <c4d064b82a9145e894df7306b1fbbd9b>:0
  at Oxide.Game.Rust.Libraries.Player.IsConnected (BasePlayer player) [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Plugins.Clans+Clan.Broadcast (System.String message, System.String sender) [0x00036] in <fb720ab616ef421daac9375110482c7d>:0
  at Oxide.Plugins.Clans+<OnUserConnected>c__AnonStorey0.<>m__0 () [0x000cc] in <fb720ab616ef421daac9375110482c7d>:0
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <b0a93b504f034a0db8b1c3d2503c0987>:0​

Unrelated to this thread, but you need to update Oxide to fix that.

Locked automatically