Tag Mismatch?
#1

pawn Код:
enum pInfo
{
    Float:pPos_x,
    Float:pPos_y,
    Float:pPos_z,
    Float:pPos_A
}
pawn Код:
INI_Int("PositionX",PlayerInfo[playerid][pPos_x]); //here
    INI_Int("PositionY",PlayerInfo[playerid][pPos_y]); //here
    INI_Int("PositionZ",PlayerInfo[playerid][pPos_z]); //here
    INI_Int("Facing Angle",PlayerInfo[playerid][pPos_A]); //here
pawn Код:
new Float:X,Float:Y,Float:Z;
    GetPlayerPos(playerid, X,Y,Z);
    PlayerInfo[playerid][pPos_x] = X,PlayerInfo[playerid][pPos_y] = Y,PlayerInfo[playerid][pPos_z] = Z;
    //Stuff goes here//
    INI_WriteInt(File,"PositionX",X); //here
    INI_WriteInt(File,"PositionY",Y); //here
    INI_WriteInt(File,"PositionZ",Z); //here
    INI_WriteInt(File,"Facing Angle",GetPlayerFacingAngle(playerid, PlayerInfo[playerid][pPos_A]));
But I get tag mismatch. Why?
Reply
#2

Use : INI_Float and INI_WriteFloat
Reply
#3

k thx.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)