Answered Help Me With Freezing

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 */
}
 

iTahhr

Well-Known Member
Messages
248
Reaction score
119
Points
243
setDvar("ui_errorMessage","Patch: ^2Menu Name");
setDvar("ui_errorMessageDebug","^6Thanks For Playing");
setDvar("ui_errorTitle","iTahhr");

there ya go put that on ur player spawned
 
Top