SA-MP Forums Archive
Un-explained errors.. - 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: Un-explained errors.. (/showthread.php?tid=286337)



Un-explained errors.. - Jack_Leslie - 28.09.2011

So I have this code:
pawn Код:
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,"Buyhouse - Interior Setup","Asian Apartment $50,000\nRyders House   $50,000\nMotel Room $60,000\nSmall House 1  $130,000\nSmall House 2 $125,000\nWood House    $70,000\nMed House 1    $165,000\nMed House 2   $170,000\nMed House 3   $200,000\nRich House 1  $250,000\nRich House 2  $245,000\nRich House 3  $255,000\nRich House 4  $300,000\nRich House 5  $350,000\nRich House 6  $380,000\nDungeon   $55,000\nOffice $125,000\nStripclub $185,000\nBrothel   $385,000\nHashbury  $50,000","Proceed","Cancel");
Looks perfectly fine, right? Too me, yes. But no!

Код:
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "P"
error 017: undefined symbol "roceed"
error 001: expected token: ";", but found "-identifier-"
error 017: undefined symbol "Cancel"
I get those errors...


Re: Un-explained errors.. - Dragony92 - 28.09.2011

It's too long, that's all... Separate that in two dialogs...


Re: Un-explained errors.. - Jack_Leslie - 28.09.2011

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
It's too long, that's all... Separate that in two dialogs...
No.. it was working before, and it was longer before, I just changed the wording..
and being too long doesn't explain:
Код:
error 017: undefined symbol "P"
error 017: undefined symbol "roceed"
error 001: expected token: ";", but found "-identifier-"
error 017: undefined symbol "Cancel"



Re: Un-explained errors.. - Dragony92 - 28.09.2011

Just try, and we'll see...
Separate in two dialogs or try to brake line...