thanks for all answer
@ConnorMcLeod
compile is success
However, the message is displayed to all players.
And health is not added
What should I do?
Code:
#include <amxmodx>
#include <fun>
public plugin_init()
{
register_plugin("PLUGIN", "VERSION", "AUTHOR")
register_event("DeathMsg", "EventDeathMsgHeGrenade", "a", "1>0", "4=grenade")
}
public EventDeathMsgHeGrenade(id)
{
client_print(id, print_center, "Since You killed the enemy with the HE\nYou add 25 to health")
set_user_health(id, (get_user_health(id) + 25))
}