Changed basechat to exclude hl2mp from color messages, but include everything else.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401669
This commit is contained in:
parent
45b7c2e30f
commit
b3fa7316d5
@ -52,7 +52,7 @@ new g_Colors[13][3] = {{255,255,255},{255,0,0},{0,255,0},{0,0,255},{255,255,0},{
|
|||||||
new Handle:g_Cvar_Chatmode = INVALID_HANDLE;
|
new Handle:g_Cvar_Chatmode = INVALID_HANDLE;
|
||||||
new Handle:g_Cvar_Psaymode = INVALID_HANDLE;
|
new Handle:g_Cvar_Psaymode = INVALID_HANDLE;
|
||||||
|
|
||||||
new bool:g_DoColor = false;
|
new bool:g_DoColor = true;
|
||||||
|
|
||||||
public OnPluginStart()
|
public OnPluginStart()
|
||||||
{
|
{
|
||||||
@ -74,9 +74,9 @@ public OnPluginStart()
|
|||||||
decl String:modname[64];
|
decl String:modname[64];
|
||||||
GetGameFolderName(modname, sizeof(modname));
|
GetGameFolderName(modname, sizeof(modname));
|
||||||
|
|
||||||
if (strcmp(modname, "cstrike") == 0)
|
if (strcmp(modname, "hl2mp") == 0)
|
||||||
{
|
{
|
||||||
g_DoColor = true;
|
g_DoColor = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user