#3

Exemple:
Код:
// File: dialog_login.xml

<dialog type="password">
    <title>Login</title>
    <text>Inform your password</text>
    <button>Login</button>
    <button>Cancel</button>
</dialog>
So the code would look something like:
Код:
new DialogLogin;

public OnGameModeInit() {
    DialogLogin = loadXmlForDialog("dialog_login.xml");
    return 1;
}

//...
ShowDialog(DialogLogin);
Reply


Messages In This Thread
YSI - by minimessi10 - 23.03.2019, 13:50
Re: YSI - by minimessi10 - 23.03.2019, 14:30
Re: YSI - by minimessi10 - 23.03.2019, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)