22.09.2010, 08:58
pawn Код:
OnPlayerDisconnect
new file[256], n[MAX_PLAYER_NAME]; GetPlayerName(playerid,n,sizeof(n)); format(file,sizeof(file),"Users/%s.sav",n);
//your stuff
SavePlayer
new file[256]; format(file,sizeof(file),"Users/%s.sav",name);
//your stuff