Kills and Deaths
#1

pawn Код:
IsLogged[playerid] = true;
            GivePlayerMoney(playerid, dini_Int(file[playerid], "Money"));
            SetPlayerScore(playerid, dini_Int(file[playerid], "Score"));
            AdminLevel[playerid] = dini_Int(file[playerid], "Admin");
            Banned[playerid] = dini_Int(file[playerid], "IGBAN");
            TimeBanned[playerid] = dini_Int(file[playerid], "TimeBanned");
            TimeKicked[playerid] = dini_Int(file[playerid], "TimeKicked");
            if(Banned[playerid] == 1)
How do I add kills to that so when they login in, it shows saved kills and deaths

I already done
pawn Код:
dini_IntSet(file[playerid], "Money", GetPlayerMoney(playerid));
        dini_IntSet(file[playerid], "Score", GetPlayerScore(playerid));
        dini_IntSet(file[playerid], "Kills", PlayerInfo[playerid][Kills]);
        dini_IntSet(file[playerid], "Deaths", PlayerInfo[playerid][Deaths]);
        dini_IntSet(file[playerid], "Admin", AdminLevel[playerid]);
        dini_IntSet(file[playerid], "IGBAN", Banned[playerid]);
        dini_IntSet(file[playerid], "TimeBanned", TimeBanned[playerid]);
        dini_IntSet(file[playerid], "TimeKicked", TimeKicked[playerid]);
and
pawn Код:
enum pInfo
{
      Kills,
      Deaths,
}
How do I add kills and deaths to the top code?
Reply


Messages In This Thread
Kills and Deaths - by cod5devious - 26.05.2012, 09:26
Re: Kills and Deaths - by ikey07 - 26.05.2012, 09:33
Re: Kills and Deaths - by JaTochNietDan - 26.05.2012, 09:33
Re: Kills and Deaths - by cod5devious - 26.05.2012, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)