Witam, dałby ktoś radę dopisać do tego aby w hud poza fragami i deathami wyświetlało również nick najlepszego aktualnie gracza? (pobierając dane z tabeli)
#include <amxmodx>
#define PLUGIN "Hud Frags Death"
#define VERSION "1.0"
#define AUTHOR "Biscuit"
new maxplayers
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR )
maxplayers = get_maxplayers()
set_task(1.0,"ShowHud",0,"",0,"b")
}
public ShowHud()
{
for(new i = 1 ; i <= maxplayers ; i++)
{
new Frags = get_user_frags(i)
new Deaths = get_user_deaths(i)
set_hudmessage(154,205,50,0.02,0.2,0, 1.0, 30.0, 0.1, 0.2, 1)
show_hudmessage(i,"Frags : %d ^nDeaths : %d",Frags,Deaths)
}
}


Dodatki SourceMod












