I have experienced that a lot of people are having problems getting their text to work, so i decided to make a tutorial. I know this is pretty, pretty stupid but then people can submit there problems here. I have seen 5 threads or something like that about text the last month...
There are multiple types of text. They should all be placed in your doDvars() which should be self threaded in the onPlayerSpawned.
One line of text like the text in the beginning of every match:
Replace Text with your text.Code:self iPrintlnBold("Text");
Typewriter text in the middle of the screen:
Again, replace Text with your text.Code:self thread maps\mp\gametypes\_hud_message::hintMessage("Text");
3 lines of text like the first one
Replace Text with you text. The first line is a title, it is bigger, the rest is smaller. You can add or remove lines. Line 4 sould be:Code:notifyData = spawnstruct(); 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 self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
And so onCode:notifyData.notifyText3 = "Text"; //Line 4
I can't believe i had to write this but now you Unverified users and Leechers can ask about stuff related to text here. Not anything else, only text. Send me a PM or contact me via Skype if there are something else you need help with.