Formating Dialog, (Statics) won't work/Error.
#1

Code:
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", "");
                }
            }
        }
Error:
Код:
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.
How to fix?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)