03.02.2012, 20:18
Hello, First of all I'll give you an example:
Example:
My name is Player1 and my kills are 5.
Player2's kills are 3.
Player3's kills are 2.
And my question is how to make a command to display player id with the most kills ?
Код:
new kills[MAX_PLAYERS]; public OnPlayerDeath(playerid, killerid, reason) { kills[killerid] += 1; return 1; }
My name is Player1 and my kills are 5.
Player2's kills are 3.
Player3's kills are 2.
And my question is how to make a command to display player id with the most kills ?