I want to know how to use register_event , if theres some where a tutorial I would really like if you give me the link.
I tried to use it like this:
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "New plugin"
#define VERSION "1.0"
#define AUTHOR "Me :D"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "Function", "de");
}
public Function(id)
{
set_hudmessage(0, 255, 0, -1.0, -1.0)
show_hudmessage(id, "Your dead")
}