Help with dialogs
#1

How can i get a big msgbox because i have made a dialog message box like this but it is too small for my text

this is the code for my text
Код:
CMD:guide(playerid, params[])
{
    new helpinfo[126];
    strcat(helpinfo, "Guide to Steel's Freeroam  \n", sizeof(helpinfo));
    strcat(helpinfo, "   Drift/DM/Freeroam \n", sizeof(helpinfo));
    strcat(helpinfo, "--------------------------\n", sizeof(helpinfo));
    strcat(helpinfo, "Welcome to Steel's Freeroam \n", sizeof(helpinfo));
    strcat(helpinfo, "This server is designed mainly for Drift \n", sizeof(helpinfo));
    strcat(helpinfo, "So you can drift your way to victory\n", sizeof(helpinfo));
    strcat(helpinfo, "But we also offer Deathmatches, Minigames and Moneybags\n", sizeof(helpinfo));
    strcat(helpinfo, "So there is a lot of fun stuff to do here\n", sizeof(helpinfo));
    strcat(helpinfo, "We have a unique drift level system\n", sizeof(helpinfo));
    strcat(helpinfo, "Where players can drift for cash and then use that cash to buy score\n", sizeof(helpinfo));
    strcat(helpinfo, "As you buy more score you get lots of more fun and useful priviliges\n", sizeof(helpinfo));
    strcat(helpinfo, "Use /levels to see more information about these levels \n", sizeof(helpinfo));
    strcat(helpinfo, "We have beautiful custom maps to check them out use /teles\n", sizeof(helpinfo));
    strcat(helpinfo, "Use /minigames to join a minigame\n", sizeof(helpinfo));
    strcat(helpinfo, "Use /radio to see a list of custom radio stations\n", sizeof(helpinfo));
    strcat(helpinfo, "If you have a great idea for our server, Don't be shy to tell us by using /suggest\n", sizeof(helpinfo));
    strcat(helpinfo, "Use /selectveh or /v [CARNAME] to spawn a vehicle of your choice\n", sizeof(helpinfo));
    strcat(helpinfo, "If you have anymore questions an admin will gladly help you!\n", sizeof(helpinfo));
    strcat(helpinfo, "Have fun!\n", sizeof(helpinfo));
    strcat(helpinfo, "--------------------------\n", sizeof(helpinfo));
    ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Help", helpinfo, "Ok", "");
    return 1;
}
Please help
Reply
#2

pawn Код:
new helpinfo[2000];
it will work
Reply
#3

worked thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)