Saving dini stats in new folder
#5

pawn Код:
public OnPlayerConnect(playerid)
{
  new file[MAX_PLAYER_NAME + 25];
  GetPlayerName(playerid, file, sizeof file);
  format(file, sizeof file, "mygamemode/users/%s", file);
  SetPlayerScore(playerid, dini_Int(file, "Score"));
}
Obvious

Dunno if this is correct dini usage, I hate it anyways lol.
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: 2 Guest(s)