[Release] Easy Text Functions \w No Overflows/Crashes
These are functions, not a gametype, don't ask how to play or where are the files.
This is really good and easy to use, best of all no overflows
Few examples:
Functions for creating text:
TextID - must be different each time you create text, it's the ID for the text.
Text - the text itself
testSize - basically text size
Place1 - place, where at? "TOP", "CENTER" etc
place2 - same
offset1 - offset?
offset2 - same
The text ID to be destroyed.
TextID - the text ID to rename
Text - new text
TextID - the text ID to put in new place
place1/place2 - TOP/CENTER etc..
offset1/2 - offset?
TextID - the text ID to resize
newFont - new size for the text
Examples:
Functions for creating numbers (just like text, but use it if it's number only)
NumberID - Must be different for each time you create it. Note: if you created a text with the same ID as the number, it wouldn't matter.
Number - basically the number to write
numberSize - number size
Place1/2 - CENTER/TOP
offset1/2 - offset
color - the color itself. Note: must be a character, like "blue" or "green" and etc.
NumberID - the number ID to rename
Number - new number to write
color - the color itself. Note: must be a character, like "blue" or "green" and etc.
NumberID - the number ID to replace
Place1/2 - CENTER/TOP etc
offset1/2 - offset
NumberID - the number ID to resize
newFont - new size for the number
Examples:
Things that you should know:
http://pastebin.com/RnWfS8WJ
Enjoy!
This is really good and easy to use, best of all no overflows
Few examples:
Functions for creating text:
Code:
createText(TextID, Text, textSize, Place1, Place2, offset1, offset2) destroyText(TextID) renameText(TextID, Text) replaceText(TextID, Place1, Place2, offset1, offset2) resizeText(TextID, newFont)
Code:
createText(TextID, Text, textSize, Place1, Place2, offset1, offset2)
Text - the text itself
testSize - basically text size
Place1 - place, where at? "TOP", "CENTER" etc
place2 - same
offset1 - offset?
offset2 - same
Code:
destroyText(TextID)
Code:
renameText(TextID, Text)
Text - new text
Code:
replaceText(TextID, Place1, Place2, offset1, offset2)
place1/place2 - TOP/CENTER etc..
offset1/2 - offset?
Code:
resizeText(TextID, newFont)
newFont - new size for the text
Examples:
Code:
self thread createText(0, "^2Sup Dawg", 2.5, "CENTER", "CENTER", 50, 50); self thread createText(1, "^2I am cool", 2.5, "CENTER", "CENTER", 150, 150); wait 5; self thread renameText(0, "^1I AM AWESOME!"); self thread renameText(1, "^5To bad."); self thread resizeText(1, 14);
Functions for creating numbers (just like text, but use it if it's number only)
Code:
createNumber(NumberID, Number, numberSize, Place1, Place2, offset1, offset2, color) createNumber(NumberID, Number, numberSize, Place1, Place2, offset1, offset2, colorz) replaceNumber(NumberID, Place1, Place2, offset1, offset2) resizeNumber(NumberID, newFont)
Code:
createNumber(NumberID, Number, numberSize, Place1, Place2, offset1, offset2, color)
Number - basically the number to write
numberSize - number size
Place1/2 - CENTER/TOP
offset1/2 - offset
color - the color itself. Note: must be a character, like "blue" or "green" and etc.
Code:
renameNumber(NumberID, Number, color)
Number - new number to write
color - the color itself. Note: must be a character, like "blue" or "green" and etc.
Code:
replaceNumber(NumberID, Place1, Place2, offset1, offset2)
Place1/2 - CENTER/TOP etc
offset1/2 - offset
Code:
resizeNumber(NumberID, newFont)
newFont - new size for the number
Examples:
Code:
self thread createNumber(0, 137, 2.5, "CENTER", "CENTER", 50, 50, "green"); wait 5; self thread renameNumber(0, 1337, "red"); self thread resizeNumber(0, 12);
- If you use a number and a text, and both have the same ID, it won't matter.
- Just need to createText/Number without setting stuff blablabla.
- Text/Number will auto remove from screen when you die.
http://pastebin.com/RnWfS8WJ
Enjoy!

nice 

