jacob404 / promod-future

GNU General Public License v3.0
7 stars 1 forks source link

Remove "Tank Punch Stuck Fix" print #62

Closed MattNF closed 9 years ago

jacob404 commented 9 years ago

https://github.com/jacob404/promod-future/blob/master/addons/sourcemod/scripting/l4d_tankpunchstuckfix.sp#L202

Here's the source for the plugin in question. Just need to add a cvar to disable line 202

jacob404 commented 9 years ago

1- Create a cvar called "tpsf_debug_print" with default value 1. (Reference cvars from the plugins I showed you earlier) 2- Find the print by searching for "Tank Punch Stuck Fix" 3- Add an if statement to the print: if(GetConVarBool(tpsf_debug_print))