27.09.2012, 17:29
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;
}