invalid character constant.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: invalid character constant.. (
/showthread.php?tid=192074)
invalid character constant.. -
0ne - 21.11.2010
pawn Код:
ShowPlayerDialog(playerid,106,DIALOG_STYLE_MSGBOX,"Upgrade lv.1","*\tMaxMembers + 1\n*t\Spawn Armour + 10\n*t\Cost: $3,000,000","Buy","Back");
Thats the code and the error is:
pawn Код:
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\filterscripts\gang.pwn(564) : error 027: invalid character constant
I can't figure out whats wrong, any help please?
Re: invalid character constant.. -
Zh3r0 - 21.11.2010
Here. You figure out what you done wrong.
pawn Код:
ShowPlayerDialog(playerid,106,DIALOG_STYLE_MSGBOX,"Upgrade lv.1","*\tMaxMembers + 1\n*\tSpawn Armour + 10\n*\tCost: $3,000,000","Buy","Back");
When you put \ you can add a new line, but when adding \t it won't be considered as a new line.
Re: invalid character constant.. -
0ne - 21.11.2010
Uhh, couldn't see that , my mistake ;S