Saving dini stats in new folder
#1

How to make in script like this:
Код:
public OnPlayerDisconnect(playerid, reason)
{
  new file[MAX_PLAYER_NAME+5], name[MAX_PLAYER_NAME];
  GetPlayerName(playerid, name, sizeof(name));
  format(file, sizeof(file), SAVE_FILE, name);
  dini_IntSet(file, "Score", GetPlayerScore(playerid));
return 1;
}
that this stats would save in /scriptfiles/mygamemode/users

now it just saves in scriptfiles folder
Reply


Messages In This Thread
Saving dini stats in new folder - by nejc001 - 23.09.2010, 16:25
Re: Saving dini stats in new folder - by wups - 23.09.2010, 16:36
Re: Saving dini stats in new folder - by ColdXX - 23.09.2010, 16:37
Re: Saving dini stats in new folder - by Mauzen - 23.09.2010, 16:39
Re: Saving dini stats in new folder - by Hiddos - 23.09.2010, 16:40

Forum Jump:


Users browsing this thread: 1 Guest(s)