SA-MP Forums Archive
Dialog Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog Error (/showthread.php?tid=494693)



Dialog Error - Teemo - 14.02.2014

What is the error in this line? 0.o

pawn Код:
ShowPlayerDialog(playerid, 9008, DIALOG_STYLE_MSGBOX, "{00BFFF}Rules{FFFFFF}:", "1. Don't ask to become Admin/CHelper/Moderator, Apply for it!\n\n2. Don't Deathmatch people or you will be jailed/warned\n\n3. Don't PG or you will be kicked/jailed\n\n4. Please Read /faq for basic help\n\n5. Don't scam over limit ($500,000) or you will be banned\n\n6. Don't use hacks or you will be perma-banned\n\n7. Respect to all admins/moderators permissions\n\n8. If you didn't follow the server rules, You might get banned/jailed/fined/warned\n\n", "Close", "");
Errors:

Quote:

J:\MyScript\TheScript\gamemodes\AARP.pwn(83590) : error 037: invalid string (possibly non-terminated string)
J:\MyScript\TheScript\gamemodes\AARP.pwn(83590) : warning 215: expression has no effect
J:\MyScript\TheScript\gamemodes\AARP.pwn(83590) : error 001: expected token: ";", but found "."
J:\MyScript\TheScript\gamemodes\AARP.pwn(83590) : error 029: invalid expression, assumed zero
J:\MyScript\TheScript\gamemodes\AARP.pwn(83590) : fatal error 107: too many error messages on one line

Help!


Re: Dialog Error - CuervO - 14.02.2014

pawn Код:
ShowPlayerDialog(playerid, 9008, DIALOG_STYLE_MSGBOX, "{00BFFF}Rules{FFFFFF}:",
"1. Don't ask to become Admin/CHelper/Moderator, Apply for it!\n\n2. Don't Deathmatch people or you will be jailed/warned\n\n3. Don't PG or you will be kicked/jailed\n\n4. Please Read /faq for basic help\n\n5. Don't scam over limit ($500,000) or you will be banned\n\n6. Don't use hacks or you will be perma-banned\n\n7. Respect to\
 all admins/moderators permissions\n\n8. If you didn't follow the server rules, You might get banned/jailed/fined/warned\n\n"
, "Close", "");
This will compile just fine -- sometimes long lines are not correctly read by the compiler.


Re: Dialog Error - Teemo - 14.02.2014

Gonna try it, if it works i +rep you