#1

Hi, I have a duda:

How to do so, imagine, a player having more kills than the X player (example: 2 kills more than the other) first exit than others? (in a command /top) Thus:

TOP
pepe: have 2 kills
popo: has 1 kills

How to do so are first put those who have more kills?

Greetings and thanks.

Translated, sorry if there are errors.
Reply
#2

Take a look at this: http://forum.sa-mp.com/showpost.php?...postcount=1760
Reply
#3

Thank you, but I did not understand much that.
Reply
#4

bump
Reply
#5

Can you Explain more?!
Reply
#6

He wants a script which shows a list of players in the server ordered from the one with the most kills to the one with the least kills.
Reply
#7

Create a variable to count the kills, use it in OnPlayerDeath and keep track of the killerid. You can then create a command to loop through all players and order them by amount of kills.

Do some research and you will be able to script this with ease. Don't be lazy and expect us to do all the work for you.
Reply
#8

Quote:
Originally Posted by Sithis
Посмотреть сообщение
Create a variable to count the kills, use it in OnPlayerDeath and keep track of the killerid. You can then create a command to loop through all players and order them by amount of kills.

Do some research and you will be able to script this with ease. Don't be lazy and expect us to do all the work for you.
Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)