MrOats / AngelScript_SC_Plugins

My Playground and hosted Angelscript server plugins for Sven Co-Op.
Mozilla Public License 2.0
7 stars 4 forks source link

Replace ClientSay with ClientCommand #3

Closed MrOats closed 7 years ago

MrOats commented 7 years ago

There is a bug with ClientSay where if more than one plugin uses ClientSay, then one might have trouble processing what was said in chat. Reported by me and Zodemon.

My RTV plugin had to be run alone for it to work. Zodemon just had to make his plugin the first one loaded. Ref: http://forums.svencoop.com/showthread.php/42867-Plugin-Simple-trail

Doing this will increase compatibility with other plugins! So do it soon!

MrOats commented 7 years ago

Updated info: With client say you have to be careful, do HOOK_HANDLED if that was the command you wanted, else do HOOK_CONTINUE if that was not the command you were looking for so other plugins can use the information.

MrOats commented 7 years ago

Resolved this in all plugins. Closing.