05.01.2014, 10:27
Code:
Error:
How to fix?
pawn Код:
case DIALOG_ACCOUNT:
{
if(response)
{
if(listitem == 0)
{
new string[258];
format(string,sizeof(string), "Name: %s ID: (%s) Kills: %i Deaths: %i\nAdminlevel: %i EXP: %i Rank: %i Prestige: %i",PlayerName , playerid, PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pEXP], PlayerInfo[playerid][pRank], PlayerInfo[playerid][pPrestige]); //Error line
ShowPlayerDialog(playerid, DIALOG_CHOOSETEAM, DIALOG_STYLE_MSGBOX,""COL_LIGHTBLUE"Statics", string, "Choose", "");
}
}
}
Код:
C:\Users\LG\Desktop\Mustafa\hgh\gamemodes\CODWW.pwn(688) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.