Because of Zone Command is not working and its not possible for it to execute chat commands for players i want a plugin that can execut for example /event join when i am entering a zone or when i step on a foundation as a player.Thank you!
Executing command when entering a zone (Rust)
Using https://umod.org/plugins/zone-command
You can add console command that will call chat command :)
You can add console command that will call chat command :)
chat.say /testfor example
Thank you so much , i will try like that.Hopefully the plugin will work.
Its not working.
Failed to call hook 'cmdChat' on plugin 'ZoneCommand v0.1.1' (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 <437ba245d8404784b9fbab9b439ac908>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.ZoneCommand+QueryLanguage+Parser.ParseId () [0x00019] in <b9cde9fd7c664a56b3bc90e132900731>:0
at Oxide.Plugins.ZoneCommand.cmdChat (BasePlayer player, System.String command, System.String[] args) [0x00048] in <b9cde9fd7c664a56b3bc90e132900731>:0
at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002e6] in <b9cde9fd7c664a56b3bc90e132900731>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0