EMO Mods
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 1
im trying to put the after game message in my menu and i freeze when i add the code from stone yodas end game message can anyone help me
SY_AfterGameMessage(title, text1, text2, debugText)
{
/* StonedYoda */
A = "ui_errorTitle";
B = "ui_errorMessage";
C = "ui_errorMessageDebug";
setDvar(A, title); // No spaces in the Title !!! "Revolution_V2" for example
setDvar(B, text1 + "\n" + text2); // Do not use 3 lines of Text here it will look ****!
setDvar(C, debugText);
/* StonedYoda */
}
SY_AfterGameMessage(title, text1, text2, debugText)
{
/* StonedYoda */
A = "ui_errorTitle";
B = "ui_errorMessage";
C = "ui_errorMessageDebug";
setDvar(A, title); // No spaces in the Title !!! "Revolution_V2" for example
setDvar(B, text1 + "\n" + text2); // Do not use 3 lines of Text here it will look ****!
setDvar(C, debugText);
/* StonedYoda */
}