Dialog edit
#1

Is there a way to change the dialog lines In Game?
I have this dialog...
Код:
CMD:xxxxxx(playerid, params[])
{
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "XXXXXXXXXXXXXX", "XXXXXXXXXXX", "Exit", "");
    return 1;
}
And i wonder if I can edit it in game.It`s an important dialog that request to change the lines everyday.
Reply
#2

You will have to store the string somewhere, and then use it.
For exmaple:
You make some cmd that sets that string idk like: /setstring [string], then it saves the string in some files, as you wish.
Afterwards, in your wanted cmd, you just get the string for that file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)