I have changed the code,But still it isn't displaying anything,Any mistake here?
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <Hamsandwich>
#define PLUGIN "HUD-Message"
#define VERSION "1.0"
#define AUTHOR "Waleed Baig"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn,"players","fwhamplayerspawnpost",1)
}
public fwhamplayerspawnpost(iplayer)
{
if (is_user_alive(iplayer))
{
set_hudmessage(0, 0, 255,0.5,0.5,0,6.0,30,0.5,0.5,4)
show_hudmessage(iplayer, "I AM TRYING TO SHOW THIS MESSAGE")
}
}