28.04.2012, 16:27
hi, I know why the warnings are there but i was wondering if they is a way to remove them?
Proble area
Warnings
Proble area
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new X, Y, Z, A;
line 150 GetPlayerPos(playerid, X, Y, Z);
line 151 GetPlayerFacingAngle(playerid, A);
PlayerInfo[playerid][pSpawnX] = X;
PlayerInfo[playerid][pSpawnY] = Y;
PlayerInfo[playerid][pSpawnZ] = Z;
PlayerInfo[playerid][pSpawnA] = A;
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
INI_WriteInt(File,"Skin",GetPlayerSkin(playerid));
INI_WriteInt(File,"Banned",PlayerInfo[playerid][pBanned]);
INI_WriteInt(File,"SpawnX",PlayerInfo[playerid][pSpawnX]);
INI_WriteInt(File,"SpawnY",PlayerInfo[playerid][pSpawnY]);
INI_WriteInt(File,"SpawnZ",PlayerInfo[playerid][pSpawnZ]);
INI_WriteInt(File,"SpawnA",PlayerInfo[playerid][pSpawnA]);
INI_Close(File);
return 1;
}
pawn Код:
Base.pwn(150) : warning 213: tag mismatch
Base.pwn(150) : warning 213: tag mismatch
Base.pwn(150) : warning 213: tag mismatch
Base.pwn(151) : warning 213: tag mismatch
4 Warnings.