Saving stats
#6

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
Reply


Messages In This Thread
Saving stats - by Dime - 22.09.2010, 08:28
Re: Saving stats - by Matej_ - 22.09.2010, 08:33
Re: Saving stats - by Dime - 22.09.2010, 08:36
Re: Saving stats - by willsuckformoney - 22.09.2010, 08:53
Re: Saving stats - by Dime - 22.09.2010, 08:53
Re: Saving stats - by willsuckformoney - 22.09.2010, 08:58
Re: Saving stats - by Dime - 22.09.2010, 09:18
Re: Saving stats - by Desert - 22.09.2010, 09:44
Re: Saving stats - by Dime - 22.09.2010, 09:50
Re: Saving stats - by woot - 22.09.2010, 11:15

Forum Jump:


Users browsing this thread: 3 Guest(s)