[HELP] Each kill adds a certain exp
#1

Hello yet again people, i was just wondering if you could help me with this, i'm using the new Progress Bar Filterscript, and i was wondering how i could do this, once you kill someone you get %s ammount of exp, once that exp has reached 100, you rank up, here are my enums.

pawn Код:
//----//Rank Stuff//----//
enum pinfo
{
    MinutesPlayed,
    HoursPlayed,
    Kills,
    Visits,
    Rank,
    SaveStats,
}
new PInfo[MAX_PLAYERS][pinfo];
And my Rank info

pawn Код:
//----//Requierments//----//
enum rinfo
{
    RName[64],
    RRequirement,
    RStartMoney,
    Float:RSpawnHealth,
    Float:RSpawnArmour,
    RSpawnWeapon,
    RSpawnAmmo,
};

new RankInfo[MAX_RANKS][rinfo];
so i want it like each kill adds say 0.345 exp and then once exp == 100, it ranks up:

this is my rank function:
pawn Код:
AddRank(rankID, const Name[], Requirement, Startmoney, Float:SpawnHealth, Float:SpawnArmour, SpawnWeapon, SpawnAmmo);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)