Check kills
Hello Guys ! :) . i've made a plugin that shows top 3 Killers in every round with hud ( " i didn't test it " ) but I figured that the function of checking kills is useless knowing that the function that i have use is get_user_frags() !
Code:
|
Re: Check kills
So what is your question/problem?
|
Re: Check kills
If you read the description you will understand !!
Again . i want a function to check kill . Read the description please :) ! |
Re: Check kills
What I understand is that you want to loop trough all players and get the three first players with most kills. Like a top 3?
|
Re: Check kills
Exactly !! i've made it the top 3 and its ranking by frags . so i need to get rank by kills every round !
|
Re: Check kills
Gather the kills in a playerkilled type event/forward in an array and on round end sort the array, get your first/last three entries(depending on your sort algorithm) and then set the array to 0.
|
Re: Check kills
Well . Thank's SpeeDer ! i have try this
Code:
|
Re: Check kills
Quote:
|
Re: Check kills
Oké ! thanks for your fast reply !
|
| All times are GMT -4. The time now is 21:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.