09.07.2014, 14:55 
	
	
	
		Set 3 more values in your MySQL database under your Player data, PosX, PosY and PosZ. Set them to FLOAT with the length of 10.
I'm not the best at PAWN, but I attempted it for you.
Tell me if it works 
	
	
	
	
pawn Код:
enum pData
{
Float:PosX,
Float:PosY,
Float:PosZ
//etc..
};
pawn Код:
public OnPlayerDisconnect(playerid)
{
new query[128];
format(query, sizeof(query), "UPDATE PlayerData SET PosX=%f, PosY=%f, PosZ=%f WHERE pName='%s'", Player[playerid][PosX], Player[playerid][PosY], Player[playerid][PosZ], )
}
Tell me if it works
 
	

