game/client/clientmode_shared.cpp
void ClientModeShared::StartMessageMode( int iMessageModeType )
{
	// Can only show chat UI in multiplayer!!!
	if ( gpGlobals->maxClients == 1 )
	{
		return;
	}
#if defined( INCLUDE_SCALEFORM )
	SFHudChat* pChat = GET_HUDELEMENT( SFHudChat );
	if ( pChat )
	{
		pChat->StartMessageMode( iMessageModeType );
	}
#elif defined( INCLUDE_ROCKETUI )
	RkHudChat* pChat = GET_HUDELEMENT( RkHudChat );
	if( pChat )
	    pChat->StartMessageMode( iMessageModeType );
#endif
}
//-----------------------------------------------------------------------------
// Purpose: The player has started to type a message
//-----------------------------------------------------------------------------
The player has started to type a message
The player has started to type a message
void ClientModeShared::StartMessageMode( int iMessageModeType )
{
	if ( gpGlobals->maxClients == 1 )
	{
		return;
	}
#if defined( INCLUDE_SCALEFORM )
	SFHudChat* pChat = GET_HUDELEMENT( SFHudChat );
	if ( pChat )
	{
		pChat->StartMessageMode( iMessageModeType );
	}
#elif defined( INCLUDE_ROCKETUI )
	RkHudChat* pChat = GET_HUDELEMENT( RkHudChat );
	if( pChat )
	    pChat->StartMessageMode( iMessageModeType );
#endif
}
void ClientModeShared :: StartMessageMode ( int iMessageModeType ) { if ( gpGlobals -> maxClients == 1 ) { return ; } #if defined ( INCLUDE_SCALEFORM ) SFHudChat * pChat = GET_HUDELEMENT ( SFHudChat ) ; if ( pChat ) { pChat -> StartMessageMode ( iMessageModeType ) ; } #elif defined ( INCLUDE_ROCKETUI ) RkHudChat * pChat = GET_HUDELEMENT ( RkHudChat ) ; if ( pChat ) pChat -> StartMessageMode ( iMessageModeType ) ; #endif }
Purpose: The player has started to type a message
Purpose : The player has started to type a message
// Can only show chat UI in multiplayer!!!