Requesting a Update Dialog CMD [REP]
#1

I Want it so if a user wants to see our updates he can do /updates and a black dialog will show up with our updates i want To be able to edit the title of the Dialog and what it shows thanks

Rep wil lbe givin
Reply
#2

pawn Код:
#define DIALOG_UPDATES            5312 //Add this on top of your script


CMD:updates(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Server Updates", "* Version 0.1 \n\n* New vehicle watermelon for sale \n*Added Anti Server Connect \n* New watermelon \n*New Kangaroo \n*New Horseshoe", "Close", "");
    return 1;
}

In case you're going to make it like a diary you should use this..
pawn Код:
CMD:updates(playerid, params[])
{
        new string[450];
        strcat(string,"Use \n - To use next line");
        strcat(string,"\nMany many many cats \nSo many cats I like it");
        strcat(string,"\nMany many many popcorn \nMany many yellow submarine");
        strcat(string,"\nMany many many diaries \nToo many strings");
        strcat(string," \nMany many many many diaries book 2");
        ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Server Updates", string, "Close", "");
        return 1;
    }
Reply
#3

Thanks mte ill give u the rep now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)