Kills and Deaths?
#2

Seriously...

If you have a enum create a pKills and Pdeaths in it if you dont add this

pawn Код:
enum pInfo
{
      pKills,
      pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Okay so now I'm guessing you can work out how to save/load as I havnt used Dini in ages and cant remember the Syntax.

pawn Код:
dini_IntSet(file[playerid], "Kills", PlayerInfo[playerid][pKills]);
                 dini_IntSet(file[playerid], "Deaths", PlayerInfo[playerid][pDeaths]);
If you dont understand how to save/load it give me an example to follow.

And enjoy the code.
Reply


Messages In This Thread
Kills and Deaths? - by cod5devious - 25.05.2012, 23:26
Re: Kills and Deaths? - by IceCube! - 25.05.2012, 23:30
Re: Kills and Deaths? - by cod5devious - 26.05.2012, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)