Originally posted by Ju1cy
self thread maps\mp\gametypes\_hud_message::hintMessage("Text");
or
notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige
notifyData.titleText = "Text"; //Line 1
notifyData.notifyText = "Text"; //Line 2
notifyData.notifyText2 = "Text"; //Line 3
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up"; //Sound, level up sound here
notifyData.duration = 7; //Change Duration
notifyData.font = "DAStacks"; //Edit fonts, there isn't a complete list
notifyData.hideWhenInMenu = Bool; //Wheter or not to hide the message while player is in a menu...
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
Credits to DerekTrotter for the codes.