Hi there,
you just have to put slashes at the beginning of the lines that you want to make "silent" (Lines 673 and 676):
Code:
// Display to all the player that did the most damage this round
if(mostDamage > 0) {
//PrintToChatAll("\x04%s inflicted most damage, %d dmg in %d hits!", g_PlayerName[mostDamagePlayer], mostDamage, mostHits);
}
if(mostKills > 0) {
//PrintToChatAll("\x04Most kills:%s with %d kills" ,g_PlayerName[mostKillsPlayer], mostKills);
Now when you compile this script, compiler tells you:
Quote:
SourcePawn Compiler 1.3.7
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(114) : warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(667) : warning 204: symbol is assigned a value that is never used: "mostKillsPlayer"
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(653) : warning 204: symbol is assigned a value that is never used: "mostHits"
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(652) : warning 204: symbol is assigned a value that is never used: "mostDamagePlayer"
Header size: 3436 bytes
Code size: 17140 bytes
Data size: 545724 bytes
Stack/heap size: 16384 bytes; Total requirements: 582684 bytes
4 Warnings.
|
Nevermind, these are warnings, not errors.
One warning is due to a sourcemod update, that the compiler fixes automatically.
The 3 other warnings are due to the fact that 3 vars created by plugin are not used, because you deactivated them. That's normal and safe.
In the script I use I removed these vars to have a "clean" script with no warnings, but I can't share it here as I edited a lot of other stuff too and it would take me too much time to return to default settings for you.
Hope it will help, bye !