13.06.2014, 07:16
My codes:
My problem is : the message in just 1 line... but i want to add them in 5 lines. because in 1 line its too big.
Код:
else if(!strcmp(cmd, "/rules")) { new rulesmsg[500]; strcat(rulesmsg, "---- Rules of The Pilots Paradise ----"); strcat(rulesmsg, "{FF8000}1) Do not deathmatch under any circumstances. - This includes planebombing."); strcat(rulesmsg, "{FF8000}2) Do not abuse bugs which may have occured."); strcat(rulesmsg, "{FF8000}3) Never attempt to cheat by using hacking tools, trainers or anything alike."); strcat(rulesmsg, "{FF8000}4) Do not advertise any server which isn't related to the Pilots Paradise here."); strcat(rulesmsg, "{FF8000}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, "Rules", rulesmsg, "OK", ""); return 1; }