Quote:
Originally Posted by Doulos
I would like it to stop printing warnings to chat. Any ideas? I tried editing and recompiling, but it would not compile.
|
Even if the author did provide support for customized plugins, it would be quite hard to help you without the exact code that you are trying to compile.
Since you mention "printing warnings to chat", I suggest you upgrade to the latest version and configure it properly, according to your likings, rather than re-inventing the wheel?
Quote:
Originally Posted by StevoTVR
Console Variables
Code:
// Actions to take on detected clients
// Add up the options from the list:
// 1: Log to sourcemod/logs/vacbans.log
// 2: Kick
// 4: Ban
// 8: Display message to admins
// 16: Display message to all players
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "31.000000"
sm_vacbans_actions "3"
|
To log and ban, you would set sm_vacbans_actions to 1+4 = 5.
To only display to admins (and otherwise do nothing), you would set sm_vacbans_actions to 8.
To log, kick and display to all players, you would set "sm_vacbans_actions" to 1+2+16 = 19.
Does this help you?
__________________