diff --git a/_GameTextManager/scripting/GameTextManager.sp b/_GameTextManager/scripting/GameTextManager.sp index 77ff63ee..987ff59c 100644 --- a/_GameTextManager/scripting/GameTextManager.sp +++ b/_GameTextManager/scripting/GameTextManager.sp @@ -74,31 +74,27 @@ public void OnEntityCreated(int entity, const char[] classname) //---------------------------------------------------------------------------------------------------- // Purpose: +// +// m_textParms.channel +// m_textParms.x +// m_textParms.y +// m_textParms.r1 +// m_textParms.g1 +// m_textParms.b1 +// m_textParms.a1 +// m_textParms.r2 +// m_textParms.g2 +// m_textParms.b2 +// m_textParms.a2 +// m_textParms.effect +// m_textParms.fadeinTime +// m_textParms.fadeoutTime +// m_textParms.holdTime +// m_textParms.fxTime +// m_iszMessage //---------------------------------------------------------------------------------------------------- public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams) { - /* - int channel = GetEntProp(entity, - - // m_textParms.channel - // m_textParms.x - // m_textParms.y - // m_textParms.r1 - // m_textParms.g1 - // m_textParms.b1 - // m_textParms.a1 - // m_textParms.r2 - // m_textParms.g2 - // m_textParms.b2 - // m_textParms.a2 - // m_textParms.effect - // m_textParms.fadeinTime - // m_textParms.fadeoutTime - // m_textParms.holdTime - // m_textParms.fxTime - // m_iszMessage - */ - 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; }