SA-MP Forums Archive
How to fix error 027 ? - 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: How to fix error 027 ? (/showthread.php?tid=494633)



How to fix error 027 ? - barts - 14.02.2014

PHP код:
                case 0:
                {
                    
ShowPlayerDialog(playerid3DIALOG_STYLE_LIST"Weapons""9mm - $500\nDesert Eagle - $500\nShotgun - $500\nSniper Rifle - $500\nMP5 - $500\nAK47 - $500\nM4 - $500\nCountry Rifle - $1000\nSniper Rifle - $1000\nSPAS12 - $1000\Tec9 - $2000\nUzi - $2000""Select""Cancel");
                } 
PHP код:
error 027invalid character constant 



Re: How to fix error 027 ? - Avi Raj - 14.02.2014

Use this.

pawn Код:
case 0:
{
                    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Weapons", "9mm - $500\nDesert Eagle - $500\nShotgun - $500\nSniper Rifle - $500\nMP5 - $500\nAK47 - $500\nM4 - $500\nCountry Rifle - $1000\nSniper Rifle - $1000\nSPAS12 - $1000\nTec9 - $2000\nUzi - $2000", "Select", "Cancel");
}