Here this should work.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#define PLUGIN "HudStat"
#define AUTHOR "AloneLive"
#define VERSION "0.1"
new gMaxPlayers;
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR)
gMaxPlayers = get_maxplayers();
set_task(0.1,"hud_hpap", _ , _ , _ , "b")
}
public hud_hpap() {
for( new id = 1; id <= gMaxPlayers; id++ ) {
if( is_user_alive(id) ) {
set_dhudmessage(0, 160, 0, 0.0, 0.95, 0, 1.0, 1.0 );
show_dhudmessage(id, " + %i | @ %i | ?????: %i | ?????? %i", get_user_health(id), get_user_armor(id), get_user_frags(id), get_user_deaths(id))
}
}
}
__________________