Quote:
Originally Posted by Famalamalam
Use a variable to count the kills:
pawn Код:
new Kills[MAX_PLAYERS]; // This is global, btw.
Count the kills on OnPlayerDeath
Also in OnPlayerDeath, run a check:
pawn Код:
if(Kills[killerid] >= 50) { //run your rank code here } else if(Kills[killerid] >= 100) { //higher rank code }
For the ranks, I'd use a global variable, ie/ rank = 1; would be rank 1, rank = 2; for rank 2, etc.
|
Kk, so i have it like you said, but now, the Ranks, what would those be like?