sorting by HP
Hi guys.
I was wondering, could someone show me an example, how to make this plugin sort players showing in the HUD msg, by HP? I cant understand it at all.. :( Code:
#include <amxmodx> |
Re: sorting by HP
from min to max HP ?
|
Re: sorting by HP
PHP Code:
|
Re: sorting by HP
Quote:
Quote:
|
Re: sorting by HP
Something like this:
PHP Code:
|
Re: sorting by HP
Thanks.
It has some issues though. ^^ 1. it shows hostname in the playerlist also, like if hostname is Counter-Strike, it shows in both teams Counter-Strike (0hp) 2. Sometimes it doesnt show up at all when writing sort. Dunno why. 3. Not issue, but it could also number players like this- #1 Player (100hp) , #2 Player3 (98hp) , #3 Player2 (34hp) but already big thanks!! :) |
Re: sorting by HP
Heres another way which I wrote for frags but can easily be adjusted for hp. You will also need to add HUD code. If you can't figure it out let me know.
http://forums.alliedmods.net/showpos...94&postcount=4 |
Re: sorting by HP
mazmaajinsh
Fixed: PHP Code:
|
Re: sorting by HP
Quote:
|
Re: sorting by HP
Quote:
|
| All times are GMT -4. The time now is 04:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.