Originally Posted by Babul
no need to delete something. the compilers' parser cant handle too long lines. break them up by using a simple return, maybe with the escaping character \ to avoid the compiler thinking its a line end:
pawn Code:
ShowPlayerDialog(playerid, 44, DIALOG_STYLE_MSGBOX, "Help", "[Server Commands]/credits,/help,/kill,/afk,/back,/me,/v,/givecash,/fix,/flip,/tts,/ttsstop,/skin,/report,/admin,/pm,/admins,/radio\n\ [Server Commands]/addboject,/objectids,/boneids\n[Admin Commands (1)]/s,/soff,/explode,/slap,/mute,/unmute\n[Admin Commands (2)]/duty,/dutyoff,/fr(eeze),/unfr(eeze),/cc\n\ [Admin Commands (3)]/rac,/recon\n[Admin Commands (4)]/bring,/goto,/heal,/healall,/adminradio,/radiooff\n[Admin Commands (5)]/gmx", "OK", "");
i hope those 3 lines are short enough. if it still complains, add some \ in between yor lines, heres an extreme example:
pawn Code:
String="This\ is\ a\ long\ line,\ too.";
dont forget to add spaces, the string above is "Thisisalongline,too."
|