Tag Mismatch
#1

Hello. I am making a system to save the character, and I created a stock for that.
However, I am getting a few warnings; Tag Mismatch.
Код:
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(119) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(120) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(121) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(131) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(131) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(131) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(142) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(143) : warning 213: tag mismatch
C:\Users\Christian\Desktop\RP\gamemodes\new.pwn(144) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Warnings.
pawn Код:
// Stock
stock SaveChar(playerid)
{
    new float:PoX, float:PoY, float:PoZ;
    GetPlayerPos(playerid, PoX, PoY, PoZ);
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Cash",PlayerInfo[playerid][pCash]);
    INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
    INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    INI_WriteInt(File,"Faction",PlayerInfo[playerid][pFaction]);
    INI_WriteInt(File,"FactionRank",PlayerInfo[playerid][pFacRank]);
    INI_WriteInt(File,"FactionDivision",PlayerInfo[playerid][pFacDiv]);
    INI_WriteInt(File,"Skin",PlayerInfo[playerid][pSkin]);
    INI_WriteFloat(File,"PosX",PoX);// 142
    INI_WriteFloat(File,"PosY",PoY);// 143
    INI_WriteFloat(File,"PosZ",PoZ);// 144
    INI_WriteInt(File,"Level",PlayerInfo[playerid][pLevel]);
    INI_WriteInt(File,"Bank",PlayerInfo[playerid][pLevel]);
    INI_Close(File);
}
I didn't show all of the warnings, as I am sure if you show me what's wrong here, I can fix the rest.
Reply
#2

Float: not float:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)