View Single Post
DarkSnow
Senior Member
Join Date: Oct 2005
Location: 127.0.0.1
Old 10-17-2006 , 07:23   Re: ECStatic Check (Anti-Cheat) [Anthrax]
Reply With Quote #9

Quote:
Originally Posted by `666 View Post
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)
__________________

Last edited by DarkSnow; 10-17-2006 at 21:26.
DarkSnow is offline
Send a message via MSN to DarkSnow