new Float:X, Float:Y, Float:Z, Float:A, Float:I, Float:W;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, A);// I Added this Incase you asked later // A saves Players ANGLE
I = GetPlayerInterior(playerid);// This Saves Players Interior
W = GetPlayerVirtualWorld(playerid); // This saves Players Virtual World if you plan on using it
INI_WriteFloat(File,"Health",HEALTH);
INI_WriteFloat(File,"Armour",ARMOUR);
INI_WriteFloat(File,"Posx",X);
INI_WriteFloat(File,"Posy",Y);
INI_WriteFloat(File,"Posz",Z);
INI_WriteFloat(File,"Posa",A);
INI_WriteFloat(File,"Posi",I);
INI_WriteFloat(File,"Posw",W);
SetPlayerPos(playerid, PlayerInfo[playerid][posx],PlayerInfo[playerid][posy],PlayerInfo[playerid][posz],PlayerInfo[playerid][posa],PlayerInfo[playerid][posi],PlayerInfo[playerid][posw]);
INI_WriteFloat(File,"Posx",X); INI_WriteFloat(File,"Posy",Y); INI_WriteFloat(File,"Posz",Z);
SetPlayerPos(playerid, PlayerInfo[playerid][posx],PlayerInfo[playerid][posy],PlayerInfo[playerid][posz]);
Just read the pos from the file and set the coordinates to it. I can't tell you the functions as I don't know Y_INI |