Dialog error
#1

I am getting a dialog error i dont know why:

Код:
C:\Users\Acer\Desktop\Zombies VS Humans V1.1\gamemodes\zombie2.pwn(5527) : error 027: invalid character constant
C:\Users\Acer\Desktop\Zombies VS Humans V1.1\gamemodes\zombie2.pwn(5527) : error 027: invalid character constant
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Код:
    if(strcmp("/buyweap",cmdtext,true,10)==0) {
        if(gTeam[playerid] == TEAM_HUMAN) {
            ShowPlayerDialog(playerid,04041,DIALOG_STYLE_TABLIST_HEADERS,"Weapons Shop","Weapon\tPrice\tAmmo\n\SawnOffs\t$30000\t500\nDesert Eagle\t$6000\t500\nM4-Carbine\t$20000\t500\nMP5\t$7000\t500\nUzi\t$6500\t500\nKatana\t$8000\tN/A\nTec-9\t$4000\t500","Buy","Cancel");
        }

        if(gTeam[playerid] == TEAM_ZOMBIE) {
            SendClientMessage(playerid,ORANGE,"Weapons are made for Survivours..");
        }

        return 1;
	}

	return SendClientMessage(playerid,red, "Command does not exsist in the server use /help and /cmds");
}
Reply
#2

The problem is right before the word "SawnOffs".

Quote:

...n\SawnOffs\t...

Reply
#3

ty man lol i didnt saw that ty v much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)