22.06.2010, 00:35
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
IsLogged[playerid] = 0;
new Float:x;
new Float:y;
new Float:z;
GetPlayerPos(playerid,x,y,z);
positionx = x;
positiony = y;
positionz = z;
SavePos(playerid);
return 1;
}
you should add Saving functions: kills,score,skin and other things to OnPlayerDisconnect then it saves.