new s1[] = "first part of the looooooooooooooong string";
new s2[] = "second part of the loooooooooooong string";
new s[1024];
format(s, sizeof s, "%s%s", s1, s2);
ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"Server Rules:",s,"Agree","Disagree");
ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"Server Rules:","Don't use Hacks/Cheats\nDon't Spamming/Insulting/Discriminate\nDon't abuse bugs or commands!\nDon't dm outside the dmzone!\nDon't ask for admin levels\nBreaking Rules = Warn > Ban\n","Agree","Disagree");
ShowPlayerDialog(playerid,
10,DIALOG_STYLE_MSGBOX,"Server Rules:",
"Don't use Hacks/Cheats\nDon't Spamming/Insulting/Discriminate\nDon't abuse bugs or commands!\nDon't dm outside the dmzone!\nDon't ask for admin levels\nBreaking Rules = Warn > Ban\n",
"Agree","Disagree");
if (strcmp(cmdtext, "/carlist", true) == 0) { ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"Server Rules:", "A list with vehicle names/ids usage /car to get them!\n", "sultan 560\nInfernus 411\nTurismo 451 \nSuperGT 506\nFlash 565\n", "Hotknife 434\n", "Next","Close"); return 1; }
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Server Rules:", "Don't use Hacks/Cheats\nDon't Spamming/Insulting/Discriminate\
\nDon't abuse bugs or commands!\nDon't dm outside the dmzone!\
\nDon't ask for admin levels\nBreaking Rules = Warn > Ban\n", "Agree", "Disagree");
ShowPlayerDialog(playerid, 400, DIALOG_STYLE_MSGBOX, "Vehicle Commmads,", "/nos /nitro - Get Nitro on your car!\ \n/car [name] - Spawn a vehicle.\ \n/Tune - Tune your vehicle. \ \n/flip - Flip your vehicle. \ \n/repair - Repairs the visual damage on a vehicle \ \n/sultan - Spawn a tuned Sultan\ \n/nrg - Create a personaly Nrg-500 \ \n/lock /unlock - Unlock or Lock your Vehicle \ \n/parachute - Get a parachute \ \n/carlist - Get a list with vehicle names and IDs\n", "Ok");
Originally Posted by 0rb
One solution is to cut the string is smaller parts and join those parts together with format:
pawn Код:
|