14.10.2011, 12:18
I can't save the kills and the deaths from the players.
I tried with the rBits but still get errors
How can I save them?
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);