Dialog
#4

pawn Код:
else if(!strcmp(cmd, "/rules"))
    {
        new rulesmsg[500];
        strcat(rulesmsg, "---- Rules of The Pilots Paradise ----");
        strcat(rulesmsg, "1) Do not deathmatch under any circumstances. - This includes planebombing.");
        strcat(rulesmsg, "2) Do not abuse bugs which may have occured.");
        strcat(rulesmsg, "3) Never attempt to cheat by using hacking tools, trainers or anything alike.");
        strcat(rulesmsg, "4) Do not advertise any server which isn't related to the Pilots Paradise here.");
        strcat(rulesmsg, "5) Be mature while playing, do not insult others. - Don't be a troll.");
        strcat(rulesmsg, "--- For a full list of rules, visit the /forums ---");

        ShowPlayerDialog(playerid, DIALOG_RULESMSG1, DIALOG_STYLE_MSGBOX, "Dialog Title Goes Here:", rulesmsg, "OK", "");
        return 1;
    }
You can decrease or increase the string size, if it doesn't show the full text then increase it by changing '500' in :-
pawn Код:
new rulesmsg[500];
make sure you've defined 'DIALOG_RULESMSG1' too, you can change it to anything :-
pawn Код:
#define DIALOG_RULESMSG1 2999
and Make sure that '2999' is not taken by other defined Dialogs.
Reply


Messages In This Thread
Dialog - by Tuntun - 12.06.2014, 03:22
Re: Dialog - by SAMProductions - 12.06.2014, 03:28
Re: Dialog - by Tuntun - 12.06.2014, 03:35
Re: Dialog - by SAMProductions - 12.06.2014, 03:39
Re: Dialog - by Threshold - 12.06.2014, 04:57

Forum Jump:


Users browsing this thread: 1 Guest(s)