Sziasztok, megint dialoggal van a probléma, azt az ERROR-t dobja a pawno, hogy túl hosszú a sor(ami egyébként tényleg az). Hogyan lehet azt megoldani, hogy több sorba lehessen tenni?
else if(dialogid == 55) //HELP parancs dialog
{
ShowPlayerDialog(playerid, 55, DIALOG_STYLE_MSGBOX, \"ÁLTALÁNOS: {FFFFFF}/stats /serverstats /call (/p)ickup (/h)angup /phchange /namechange /sexchange /agechange /wtc /search /changepass /fuel\\nÁLTALÁNOS: {FFFFFF}/pay (/un)blindfold (/un)tie /colorcar /paintcar /buy /phonebook /withdraw /deposit /wire /paycheck /id\\nÁLTALÁNOS: {FFFFFF}/speedlimit /helpers /joinevent /quitevent /train /stuck\\nÁLTALÁNOS: {FFFFFF}/walkstyle /sb /radio /togtips /killcheckpoints /giveweapon /dropweapon\\nCHAT: {FFFFFF}/o /b /s /l /w /wt /f /r /d /call /sms /report /helpme /accent\\nINTERAKCIÓK: {FFFFFF}/me /do /enter /exit /drop /contract /engine /licenses /showlicenses /tow\\nBIZNISZ: {FFFFFF}/buybiz /vault /lock /sellbiztomarket\\nHÁZ: {FFFFFF}/buyhouse /hdeposit /hwithdraw /lock /sellhousetomarket\\nEGYÉB: {FFFFFF}/animlist /vehhelp /bizhelp /househelp /jobhelp /factionhelp /familyhelp /helperhelp /viphelp /cookieshelp\\nEGYÉB: {FFFFFF}/fishhelp /gatehelp /garagehelp\", \"Rendben\", \"\");
}
http://forum.sa-mp.com/showthread.php?t=339149
new mydialog[256];
strcat(mydialog,\"1. Attacked the security guard >> Jail for 15 months and fines for $ 15,000 \\n\");
strcat(mydialog,\"2. Attacking security officers wearing firearms >> Jail for 15 months and fines for $ 25,000 \\n\");
//and the rest of it....
..................
.....................
ShowPlayerDialog(playerid,your dialog id,DIALOG_STYLE_MSGBOX, \"your dialog caption\", mydialog,\"first button\",\"second button\");
http://forum.sa-mp.com/showthread.php?t=339149
new mydialog[256];
strcat(mydialog,\"1. Attacked the security guard >> Jail for 15 months and fines for $ 15,000 \\n\");
strcat(mydialog,\"2. Attacking security officers wearing firearms >> Jail for 15 months and fines for $ 25,000 \\n\");
//and the rest of it....
..................
.....................
ShowPlayerDialog(playerid,your dialog id,DIALOG_STYLE_MSGBOX, \"your dialog caption\", mydialog,\"first button\",\"second button\");
Köszönöm, sikerült megoldani. A \"new mydialog[256]\"-ot \"new mydialog[1024]\"-re kellett átírnom de működik.