Hey, i tried making this plugin that shows a hud message after a player is dead just to him but its not working.
Code:
public hudmsg(id)
{
if(!is_user_alive(id))
{
set_task(1.0, "ShowHud", id)
}
}
public ShowHud(id)
{
set_dhudmessage(0, 255, 0, -1.0, -1.0, 0, 2.0, 6.0, 0.8, 0.8)
show_dhudmessage(id,"Your Text here")
}
thank you for your help