27.04.2012, 16:35
I am trying to make it so it will save player stats on gmx it is working fine apart from saving and loading the stats when i do gmx, the X, Y, Z dont save, so they wont load how can i fix this
Thank You
Please Help Me Please
pawn Код:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
INI_Float("PosX",PlayerInfo[playerid][PosX]);
INI_Float("PosY",PlayerInfo[playerid][PosY]);
INI_Float("PosZ",PlayerInfo[playerid][PosZ]);
INI_Int("AdminLevel",PlayerData[playerid][AdminLevel]);
INI_String("AdminName",PlayerData[playerid][AdminName], 24);
INI_Int("AdminDuty",PlayerData[playerid][AdminDuty]);
INI_Int("AdminSkin",PlayerData[playerid][AdminSkin]);
INI_Int("OriginalSkin",PlayerData[playerid][OriginalSkin]);
INI_String("OriginalName",PlayerData[playerid][OriginalName], 24);
return 1;
}
Thank You
Please Help Me Please