[WTF] Says TAG MISMATCH!!! Dont know why :(
#1

Here is code:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new Float:Facing_Angle;
    new name[MAX_PLAYER_NAME], file[256];
    new Float:POS_X, Float:POS_Y, Float:POS_Z;
    GetPlayerPos(playerid,POS_X,POS_Y,POS_Z);
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), SERVER_USER_FILE, name);
    if(gPlayerLogged[playerid] == 1)
    {
        dini_IntSet(file, "Skin", PlayerInfo[playerid][pSkin]);
        dini_IntSet(file, "Level", PlayerInfo[playerid][pLevel]);
        dini_IntSet(file, "Dollars", GetPlayerMoney(playerid));
        dini_IntSet(file, "Cents", GetPlayerCents(playerid));
        dini_IntSet(file, "Pos_x", POS_X);
        dini_IntSet(file, "Pos_y", POS_Y);
        dini_IntSet(file, "Pos_z", POS_Z);
        dini_IntSet(file, "Facing Ange", GetPlayerFacingAngle(playerid, Facing_Angle));
    }
    if(IsPlayerNPC(playerid)) return 1;
    gPlayerLogged[playerid] = 0;
    return 1;
}
Reply


Messages In This Thread
[WTF] Says TAG MISMATCH!!! Dont know why :( - by vakhtang - 28.08.2011, 18:25
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by [MWR]Blood - 28.08.2011, 18:27
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by Backwardsman97 - 28.08.2011, 18:28
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by vakhtang - 28.08.2011, 18:28
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by vakhtang - 28.08.2011, 18:30
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by [MWR]Blood - 28.08.2011, 18:32
Re: [WTF] Says TAG MISMATCH!!! Dont know why :( - by vakhtang - 28.08.2011, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)