Quote:
Originally Posted by `666
How can i change so "[ECC] %s (connecting) is possibly using cheat: %s" is in red colour?
Thanks.
|
You are looking for having it as a hud message.
Change:
Code:
if (get_cvar_num("amx_ecban") == 0)
{
client_print(0, print_chat, "[ECC] %s (connecting) is possibly using cheat: %s", name, cheat)
}
to
Code:
if (get_cvar_num("amx_ecban") == 0)
{
new nmsg[64]
format(nmsg,63,"[ECC] %s (connecting) is possibly using cheat: %s", name, cheat)
set_hudmessage(255, 0, 0, 0.02, 0.02, 0, 6.0, 12.0)
show_hudmessage(0, nmsg)
}
or if you want it centered use:
Code:
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0)
__________________