HUD_Write_Cvar("hud_panel_infomessages_flip");
}
-float autocvar_hud_panel_infomessages_group0 = 1;
+//float autocvar_hud_panel_infomessages_group0 = 1;
float autocvar_hud_panel_infomessages_group_fadetime = 0.4;
float autocvar_hud_panel_infomessages_group_time = 6;
const int IMG_COUNT = 1; // number of InfoMessage Groups
s = sprintf(_("^1Spectating: ^7%s"), entcs_GetName(current_player));
InfoMessage(s);*/
- if(autocvar_hud_panel_infomessages_group0)
+ /*if(autocvar_hud_panel_infomessages_group0)
{
img_curr_group = 0;
switch(img_select(img_curr_group) % 3)
break;
}
InfoMessage(s);
- }
+ }*/
//bool mutator_returnvalue = MUTATOR_CALLHOOK(DrawInfoMessages, pos, mySize, img_curr_group);
//pos = M_ARGV(0, vector);
}
// z411
+ if (motd_permanent != "")
+ InfoMessage(motd_permanent);
+
MUTATOR_CALLHOOK(DrawInfoMessages, pos, mySize, img_curr_group);
}
else
g_trueaim_minrange = ReadCoord();
strcpy(hostname_full, ReadString());
+ strcpy(motd_permanent, ReadString());
return = true;
// z411
string hostname_full;
+string motd_permanent;
bool autocvar_cl_db_saveasdump;
bool autocvar_cl_spawn_event_particles;
WriteCoord(channel, autocvar_g_trueaim_minrange);
// z411 send full hostname
- WriteString(channel, (autocvar_hostname_full ? autocvar_hostname_full : autocvar_hostname));
+ WriteString(channel, autocvar_hostname_full);
+ WriteString(channel, autocvar_sv_motd_permanent);
}
void ClientInit_CheckUpdate(entity this)
string autocvar_hostname;
int autocvar_spawn_debug;
string autocvar_sv_motd;
+string autocvar_sv_motd_permanent;
int autocvar_sv_name_maxlength = 64;
bool autocvar_sv_servermodelsonly;
int autocvar_sv_spectate;
BADCVAR("g_maplist");
BADCVAR("g_maplist_mostrecent");
BADCVAR("sv_motd");
+ BADCVAR("sv_motd_permanent");
BADPREFIX("g_teamnames_");