invalid character constant..
#1

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?
Reply
#2

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.
Reply
#3

Uhh, couldn't see that , my mistake ;S
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)