Sets the HUD parameters for drawing text. These parameters are stored globally, although nothing other than this function and SetHudTextParams modify them.
This is the same as SetHudTextParams(), except it lets you set the alternate color for when effects require it.
void SetHudTextParamsEx(float x, float y, float holdTime, int color1[4], int color2[4], int effect, float fxTime, float fadeIn, float fadeOut)
x coordinate, from 0 to 1. -1.0 is the center.
y coordinate, from 0 to 1. -1.0 is the center.
Number of seconds to hold the text.
First color set, array values being [red, green, blue, alpha]
Second color set, array values being [red, green, blue, alpha]
0/1 causes the text to fade in and fade out. 2 causes the text to flash[?].
Duration of chosen effect (may not apply to all effects).
Number of seconds to spend fading in.
Number of seconds to spend fading out.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.