Requesting a Update Dialog CMD [REP]
#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


Messages In This Thread
Requesting a Update Dialog CMD [REP] - by Scott_Ryder - 27.09.2012, 17:24
Re: Requesting a Update Dialog CMD [REP] - by .v - 27.09.2012, 17:29
Re: Requesting a Update Dialog CMD [REP] - by Scott_Ryder - 27.09.2012, 17:43

Forum Jump:


Users browsing this thread: 2 Guest(s)