notifyData = spawnstruct();
notifyData.icon = "rank_prestige05";
notifyData.titleText = "text1";
notifyData.notifyText = "text2";
notifyData.font = "hudbig";
notifyData.hideWhenInMenu = false;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
notifyData = spawnstruct();
notifyData.icon = "rank_prestige05";
notifyData.titleText = "text1";
notifyData.notifyText = "text2";
notifyData.font = "hudbig";
notifyData.hideWhenInMenu = false;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
WelcomeMessage(text, text1, icon, glow)
{
hmb=spawnstruct();
if( IsDefined( text ))
{
hmb.titleText = text;
}
else
{
hmb.titleText="^4WELCOME ^2 "+self.name+"! To";
}
if( IsDefined( text1 ))
{
hmb.notifyText = text1;
}
else
{
hmb.notifyText="^4SyGnUs's ^2Lobby!";
}
if( IsDefined( icon ))
{
hmb.iconName = icon;
}
else
{
hmb.iconName="rank_prestige11";
}
if( IsDefined( glow ))
{
hmb.glowColor = glow;
}
else
{
hmb.glowColor = (0, 0, 0);
}
hmb.hideWhenInMenu = true;
hmb.archived = false;
self thread maps\mp\gametypes\_hud_message::notifyMessage(hmb);
}
level.maxRank = int(tableLookup( "mp/rankTable.csv", 0, "maxrank", 1 ));
pId = 0;
rId = 0;
for ( pId = 0; pId <= 15; pId++ )
{
// the rank icons are different
for ( rId = 0; rId <= level.maxRank; rId++ )
precacheShader( tableLookup( "mp/rankIconTable.csv", 0, rId, pId+1 ) );
}
WelcomeMessage(text, text1, icon, glow)
{
hmb=spawnstruct();
if( IsDefined( text ))
{
hmb.titleText = text;
}
else
{
hmb.titleText="^4WELCOME ^2 "+self.name+"! To";
}
if( IsDefined( text1 ))
{
hmb.notifyText = text1;
}
else
{
hmb.notifyText="^4SyGnUs's ^2Lobby!";
}
if( IsDefined( icon ))
{
hmb.iconName = icon;
}
else
{
hmb.iconName="rank_prestige11";
}
if( IsDefined( glow ))
{
hmb.glowColor = glow;
}
else
{
hmb.glowColor = (0, 0, 0);
}
hmb.hideWhenInMenu = true;
hmb.archived = false;
self thread maps\mp\gametypes\_hud_message::notifyMessage(hmb);
}
level.maxRank = int(tableLookup( "mp/rankTable.csv", 0, "maxrank", 1 ));
pId = 0;
rId = 0;
for ( pId = 0; pId <= 15; pId++ )
{
// the rank icons are different
for ( rId = 0; rId <= level.maxRank; rId++ )
precacheShader( tableLookup( "mp/rankIconTable.csv", 0, rId, pId+1 ) );
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.