init()
{
precacheShader("cardicon_claymore");
[...]
}
self.infoIcon = createIcon("cardicon_claymore", 64, 64);
self.infoIcon setPoint("BOTTOMRIGHT", "BOTTOMRIGHT", -10, -2);
notifyData = spawnstruct(); notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige notifyData.sound = "mp_level_up"; //Sound, level up sound here self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
level.infoIcon = createIcon("cardicon_claymore", 64, 64);
level.infoIcon.alignX = "right";
level.infoIcon.alignY = "bottom";
level.infoIcon.horzAlign = "right;
level.infoIcon.vertAlign = "bottom";
level.infoIcon.y = 25;
level.iinfoIcon.foreground = true;