g_ChatElement :
g_ChatElement = FindHudElement<CHudChat>("CHudChat");
Class CHudChat:
class CHudChat
{
public:
void ChatPrintf(int iPlayerIndex, int iFilter, const char* fmt, ...)
{
call_vfunc<void(__cdecl*)(void*, int, int, const char*, ...)>(this, 27)(this, iPlayerIndex...