Quote:
Originally Posted by Ellie
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.
|
Looks like I passed the wrong argument to VFormat in CShowActivity2 and CShowActivityEx. Try this.
Edit: Spotted more errors. Fixing really quickly.
Edit 2: Fixed all 4 VFormat calls each for both CShowActivity2 and CShowActivityEx.
NOTE: This version is compiled for Debugging, so it has a lot of extra debugging messages output. I'll probably compile a non-debug version sometime soon (April 1).