Problem with DIALOG_STYLE_MSGBOX
#2

pawn Код:
CMD:acmds(playerid, params[])
{
    if(PlayerInfo[playerid][pALevel] >= 1)
    {
        new level1[128], level2[128], level3[128], level4[128], level5[128];
        format(level1, sizeof(level1), "{336633}Level 1:{FFFFCC} /setskin");
        format(level2, sizeof(level2), "{336633}Level 2:{FFFFCC} No commands");
        format(level3, sizeof(level3), "{336633}Level 3:{FFFFCC} No commands");
        format(level4, sizeof(level4), "{336633}Level 4:{FFFFCC} /setcash");
        format(level5, sizeof(level5), "{336633}Level 5:{FFFFCC} /setadmin");
        ShowPlayerDialog(playerid, DIALOG_ACMDS, DIALOG_STYLE_MSGBOX, "{336633}Fri's TDM Admin Commands", ""level1"\n\n"level2"\n\n"level3"\n\n"level4"\n\n"level5"", "Ok", "");
    }
    return 1;
}
Try this
Reply


Messages In This Thread
Problem with DIALOG_STYLE_MSGBOX - by friezakinght - 11.07.2014, 13:14
Re: Problem with DIALOG_STYLE_MSGBOX - by KayJ - 11.07.2014, 13:30
Re: Problem with DIALOG_STYLE_MSGBOX - by BroZeus - 11.07.2014, 13:34

Forum Jump:


Users browsing this thread: 2 Guest(s)