Dialog size
#6

Quote:
Originally Posted by Tass007
Посмотреть сообщение
I tried this however I still get
There are cases it fails because the limit was reached.

pawn Код:
case 7:
{
    new cmds_admin[462 + 65 + 1] =
    "{DB881A}Level 1{FFFFFF} - /asay, /kick, /freeze, /unfreeze, /ac, /clear, /disarm, /checkplayer, /spectate, /stopspec, /acceptreport, /declinereport, /reports, /weather\n" \
    "{1B1BE0}Level 2{FFFFFF} - /goto, /get, /banip, /ban, /listen, /settime\n" \
    "{7340DB}Level 3{FFFFFF} - /vdestroy, /heal, /giveweapon, /setskin, /givemoney, /deleteport, /deleteallreports, /setfuel\n" \
    "{8CED15}Level 4{FFFFFF} - /oban, /unban, /sac, /vehicle, /healall, /dycmds, /setsmember, /setname\n";

    strcat(cmds_admin, "{37DB45}Level 5{FFFFFF} - /setadmin, /setadminuc, /gmx, /asetpass");

    ShowPlayerDialog(playerid, DIALOG_CMDS_ADMIN, DIALOG_STYLE_MSGBOX, "{FF0000}Admininstrator Commands", cmds_admin, "Back", "Close");
}
Still, Zeex's compiler patch has many benefits and you avoid declaring big strings.
Reply


Messages In This Thread
Dialog size - by Tass007 - 19.08.2016, 08:49
Re: Dialog size - by Konstantinos - 19.08.2016, 09:00
Re: Dialog size - by Tass007 - 19.08.2016, 09:11
Re: Dialog size - by DeeadPool - 19.08.2016, 09:40
Re: Dialog size - by Tass007 - 19.08.2016, 10:04
Re: Dialog size - by Konstantinos - 19.08.2016, 10:20
Re: Dialog size - by Tass007 - 19.08.2016, 10:43
Re: Dialog size - by Konstantinos - 19.08.2016, 10:56

Forum Jump:


Users browsing this thread: 2 Guest(s)