Answered End Game popup Script

Craze

Alt + F4
Messages
234
Points
478
I've seen on some other mod menus, when you end the game it gives you a popup, does anyone have a way to do it? You will get credit.
 

Liam

I'm a god
Messages
191
Points
393
StonedYoda made a post on the site somewhere.


Edit:

Code:
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 */
}
Were you have to put the Code:
 

Stalker

New Member
Messages
25
Points
3
Here you go hope it helps ;}

setDvar("ui_errorMessageDebug", "Bottom Text");
setDvar("ui_errorTitle", "Title Big Text A=t Top");
setDvar("ui_errorMessage", "^2Under Title Text");

Put this Onplayerspawn under the
for(;:wink:
{
 

Liam

I'm a god
Messages
191
Points
393
Here you go hope it helps ;}

setDvar("ui_errorMessageDebug", "Bottom Text");
setDvar("ui_errorTitle", "Title Big Text A=t Top");
setDvar("ui_errorMessage", "^2Under Title Text");

Put this Onplayerspawn under the
for(;:wink:
{
are you blind...
 

Top