30.03.2014, 20:26
I'm getting this tag mismatch error and my script still compiles, but I do want to fix this issue.
This is the code:
This is line 929
PHP код:
C:\Users\Nolan\Desktop\Pawn Scripting\gamemodes\Roleplayscript.pwn(929) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
PHP код:
CMD:stats(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
new money = PlayerInfo[playerid][pCash];
new deaths = PlayerInfo[playerid][pDeaths];
new kills = PlayerInfo[playerid][pKills];
new crack = PlayerInfo[playerid][pCrack];
new string1[128],stats[1024];
format(string1, sizeof string1, "{44A1D0}Money: {FFFFFF}[%d] {44A1D0}Deaths: {FFFFFF}[$%d] {44A1D0}Kills: {FFFFFF}[$%d] {44A1D0}Crack: {FFFFFF}[$%d]", money,deaths,kills,crack);
format(stats, sizeof stats, "%s", string1);
ShowPlayerDialog(playerid,102,DIALOG_STYLE_MSGBOX,""COL_BLUE"Your account:",stats,"Ok","");
return 1;
}
return 1;
}
PHP код:
new crack = PlayerInfo[playerid][pCrack];