Всем привет! Может кто подскажет как можно исправить работу плагина ?
Failed to call hook 'Spawn' on plugin 'RustSpawner v1.0.3' (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.RustSpawner.SpawnEntity (Oxide.Core.Libraries.Covalence.IPlayer player, System.String entity_name) [0x0009d] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.Spawn (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x001ee] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000cf] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Какой хук вписать? плагин с юмода и хз когда разраб до него доберется
Failed to call hook 'Spawn' on plugin 'RustSpawner v1.0.3' (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.RustSpawner.SpawnEntity (Oxide.Core.Libraries.Covalence.IPlayer player, System.String entity_name) [0x0009d] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.Spawn (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x001ee] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000cf] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Какой хук вписать? плагин с юмода и хз когда разраб до него доберется
Забыл добавить у меня как у админа все работает но если игрок прописывает команду то выскакивает данная ошибкаВсем привет! Может кто подскажет как можно исправить работу плагина ?
Failed to call hook 'Spawn' on plugin 'RustSpawner v1.0.3' (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.RustSpawner.SpawnEntity (Oxide.Core.Libraries.Covalence.IPlayer player, System.String entity_name) [0x0009d] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.Spawn (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x001ee] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.RustSpawner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000cf] in <63fa9eaf9f5c4d398f933edacdf82adb>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Какой хук вписать? плагин с юмода и хз когда разраб до него доберется
Последнее редактирование: