Okay.. i dont get any compile errors. the code prettymuch speaks for itself!
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Total frag count"
#define VERSION "01"
#define AUTHOR "Meta"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg","OnDeath","bd")
}
public OnDeath(id)
{
new Text[32]
new Kills = get_user_frags(id)
num_to_str(Kills,Text,31)
set_hudmessage(255, 0, 0, 0.8, 0.86, 0, 6.0, 12.0)
show_hudmessage(id, "Frags:")
set_hudmessage(255, 0, 0, 0.88, 0.86, 0, 6.0, 12.0)
show_hudmessage(id, Text)
}