AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceMod Anti-Cheat (https://forums.alliedmods.net/forumdisplay.php?f=133)
-   -   Coloring smac messages. (https://forums.alliedmods.net/showthread.php?t=237429)

maxolahird 03-23-2014 22:19

Coloring smac messages.
 
I was able to color successfully the join msg but I'm not sure if the replacements I made for aimbot and other smac messages works...

Will this modification work?

Quote:

//SMAC_PrintAdminNotice("%t", "SMAC_HasNotEqual", client, sCVarName, cvarValue, sValue);
CPrintToChatAll("%t%t", "SMAC_Tag", "SMAC_HasNotEqual", client, sCVarName, cvarValue, sValue);

//SMAC_PrintAdminNotice("%t", "SMAC_AimbotDetected", client, g_iAimDetections[client], deviation, sWeapon);
CPrintToChatAll("%t%t", "SMAC_Tag", "SMAC_AimbotDetected", client, g_iAimDetections[client], deviation, sWeapon);

maxolahird 03-24-2014 17:18

Re: Coloring smac messages.
 
help?

maxolahird 04-02-2014 08:57

Re: Coloring smac messages.
 
I was able to color successfully the join msg but I'm not sure if the replacements I made for aimbot and other smac messages works...

Will this modification work?

Quote:

//SMAC_PrintAdminNotice("%t", "SMAC_HasNotEqual", client, sCVarName, cvarValue, sValue);
CPrintToChatAll("%t%t", "SMAC_Tag", "SMAC_HasNotEqual", client, sCVarName, cvarValue, sValue);

//SMAC_PrintAdminNotice("%t", "SMAC_AimbotDetected", client, g_iAimDetections[client], deviation, sWeapon);
CPrintToChatAll("%t%t", "SMAC_Tag", "SMAC_AimbotDetected", client, g_iAimDetections[client], deviation, sWeapon);

WildCard65 04-02-2014 11:19

Re: Coloring smac messages.
 
what you using to color the text? morecolors.inc or colors.inc?

maxolahird 04-02-2014 12:02

Re: Coloring smac messages.
 
morecolors.inc

WildCard65 04-02-2014 13:40

Re: Coloring smac messages.
 
then probably.

maxolahird 04-02-2014 16:29

Re: Coloring smac messages.
 
I need to know for sure.... maybe if I make an event round start and make it print that...


All times are GMT -4. The time now is 18:42.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.