SetPlayerKills and SetPlayerDeaths
#1

I can't save the kills and the deaths from the players.
I tried with the rBits but still get errors
pawn Код:
stock TogglePlayerIntro(playerid, toggle)
    return  Bit1_Set(PlayingIntro, playerid, toggle);
   
stock IsPlayingIntro(playerid)
    return  Bit1_Get(PlayingIntro, playerid);
   
stock GetPlayerDeaths(playerid)
    return Bit16_Get(Deaths, playerid);

stock GetPlayerKills(playerid)
    return Bit16_Get(Deaths, playerid);
   
stock SetPlayerDeaths(playerid, deaths)
    return Bit16_Set(Deaths, playerid, deaths);
   
stock SetPlayerKills(playerid, kills)
    return Bit16_Set(Deaths, playerid, kills);
   
stock IncreasePlayerDeaths(playerid)
    return Bit16_Set(Deaths, playerid, Bit16_Get(Deaths, playerid) + 1);
   
stock IncreasePlayerKills(playerid)
    return Bit16_Set(Kills, playerid, Bit16_Get(Kills, playerid) + 1);
   
stock SetWrongPasswords(playerid, passes)
    return Bit4_Set(WrongPassword, playerid, passes);
   
stock GetWrongPasswords(playerid)
    return Bit4_Get(WrongPassword, playerid);
   
stock WrongPasswordIncrease(playerid)
    return Bit4_Set(WrongPassword, playerid, Bit4_Get(WrongPassword, playerid) + 1);
   
stock GetPlayerVip(playerid)
    return Bit4_Get(Vip, playerid);

stock SetPlayerVip(playerid, vip)
    return Bit4_Set(Vip, playerid, vip);
   
stock GetPlayerLevel(playerid)
    return Bit4_Get(Admin, playerid);

stock SetPlayerLevel(playerid, level)
    return Bit4_Set(Admin, playerid, level);
   
stock SetLastON(playerid)
    LastON[playerid] = GetDate();

stock GetLastON(playerid)
    return LastON[playerid];
   
stock SetScore(playerid, score)
    return Score{playerid} = score;

stock GetScore(playerid)
    return Score{playerid};
   
stock SetMoney(playerid, money)
    return Money{playerid} = money;

stock GetMoney(playerid)
    return Money{playerid};
   
stock ToggleLogged(playerid, toggle)
    return Bit1_Set(Logged, playerid, toggle);
   
stock IsLogged(playerid)
    return Bit1_Get(Logged, playerid);
   
stock GetPlayerIntroPart(playerid)
    return Bit4_Get(pIntroPart, playerid);
   
stock SetPlayerIntroPart(playerid, part)
    return Bit4_Set(pIntroPart, playerid, part);
How can I save them?
Reply


Messages In This Thread
SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 12:18
Re: SetPlayerKills and SetPlayerDeaths - by sleepysnowflake - 14.10.2011, 12:22
Re: SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 12:54
Re: SetPlayerKills and SetPlayerDeaths - by Yamoo - 14.10.2011, 14:29
Re: SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 14:38
Re: SetPlayerKills and SetPlayerDeaths - by Yamoo - 14.10.2011, 14:50
Re: SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 15:23
Re: SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 16:24
Re: SetPlayerKills and SetPlayerDeaths - by SmiT - 14.10.2011, 16:30
Re: SetPlayerKills and SetPlayerDeaths - by Kostas' - 14.10.2011, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)