In case you would like to overlap cs_win_panel_round
(same text as warmup, match starting in.. etc)
Quote:
stock void PrintCenterTextHtml(int client, int iDuration, const char[] message, any ...) {
if(IsClientInGame(client) && !IsFakeClient(client))
{
char buffer[512];
SetGlobalTransTarget(client);
VFormat(buffer, sizeof(buffer), message, 4);
Event hEvent_html = CreateEvent("show_survival_respawn_status", true);
SetEventString(hEvent_html, "loc_token", buffer);
SetEventInt(hEvent_html, "duration", iDuration);
SetEventInt(hEvent_html, "userid", GetClientUserId(client));
hEvent_html.FireToClient(client);
CancelCreatedEvent(hEvent_html);
}
}
|
It does support font, image stuff as well
__________________