GameTextManager: Push local changes.
:D
This commit is contained in:
parent
45bb1a4c0b
commit
36f75d0a4e
@ -74,12 +74,7 @@ public void OnEntityCreated(int entity, const char[] classname)
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
|
||||
{
|
||||
/*
|
||||
int channel = GetEntProp(entity,
|
||||
|
||||
//
|
||||
// <int> m_textParms.channel
|
||||
// <float> m_textParms.x
|
||||
// <float> m_textParms.y
|
||||
@ -97,8 +92,9 @@ public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
|
||||
// <float> m_textParms.holdTime
|
||||
// <float> m_textParms.fxTime
|
||||
// <char> m_iszMessage
|
||||
*/
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
|
||||
{
|
||||
char sInputName[128];
|
||||
DHookGetParamString(hParams, 1, sInputName, sizeof(sInputName));
|
||||
|
||||
@ -138,6 +134,7 @@ public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
|
||||
Message.fFXTime = GetEntPropFloat(entity, Prop_Data, "m_textParms.fxTime");
|
||||
|
||||
g_hMessageQueue.Push(Message);
|
||||
|
||||
DHookSetReturn(hReturn, false);
|
||||
return MRES_Supercede;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user