Quote:
Originally Posted by Powerlord
The copy from my previous post was missing some color tag stripping before printing to the server or the console in the ShowActivity things. Whoops.
Still not thoroughly tested.
|
Ok been testing this with multiple plugins and it seems to have trouble with translations and ends up not printing anything. I used the slap.sp with playercommands from sourcemod as one of my tests and got this:
Code:
L 03/25/2014 - 11:29:56: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 03/25/2014 - 11:29:56: [SM] Native "VFormat" reported: Language phrase "%t" not found
L 03/25/2014 - 11:29:56: [SM] Displaying call stack trace for plugin "playercommands.smx":
L 03/25/2014 - 11:29:56: [SM] [0] Line 833, C:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\include\colors.inc::CShowActivity2()
L 03/25/2014 - 11:29:56: [SM] [1] Line 113, playercommands/slay.sp::MenuHandler_Slay()
The printochats and replytocommands work fine, it's just the showactivity ones not working.