Failed to call hook 'OnPlayerDeath' on plugin 'NightZombies v3.3.14' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.NightZombies+SpawnController.GetPlayer (BasePlayer& player) [0x000c5] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.NightZombies+NightZombie.Respawn () [0x00049] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.NightZombies+NightZombie.OnDeath () [0x0005a] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.NightZombies+SpawnController.Respawn (BaseCombatEntity entity) [0x00013] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.NightZombies.OnPlayerDeath (ScarecrowNPC entity, HitInfo info) [0x00021] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.NightZombies.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0013d] in <1d8151a7c2274c9482166b5b2c64b794>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
OnPlayerDeath errorFixed
I am also getting this same error.
[Error] Failed to call hook 'OnPlayerDeath' on plugin 'NightZombies v3.3.14' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.NightZombies+SpawnController.GetPlayer (BasePlayer& player) [0x000c5] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.NightZombies+NightZombie.Respawn () [0x00049] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.NightZombies+NightZombie.OnDeath () [0x0005a] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.NightZombies+SpawnController.Respawn (BaseCombatEntity entity) [0x00013] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.NightZombies.OnPlayerDeath (ScarecrowNPC entity, HitInfo info) [0x00021] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.NightZombies.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0013d] in <d3f5898d530a4f40aeb588c1a76922b1>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
Locked automatically