Wind_Shark
05-01-2008, 12:23
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Welcomemsg","2.4","Wind_shark")
}
public client_putinserver(id)
{
if(is_user_connected(id))
{
new name[32]
get_user_name(id,name,31)
new steamid[41]
get_user_authid(id,steamid,40)
server_print("[AMX]CONNECTION: %s(%s)^n",name,steamid)
set_hudmessage(255, 100, 0, 0.02, 0.24, 0, 6.0, 12.0)
show_hudmessage(id, "[AMX]^n%s^nJoined the game",name)
}
return PLUGIN_HANDLED
}
With this, the HUD message isnt displayed,
could someone please tell me whats wrong ?
#include <amxmisc>
public plugin_init()
{
register_plugin("Welcomemsg","2.4","Wind_shark")
}
public client_putinserver(id)
{
if(is_user_connected(id))
{
new name[32]
get_user_name(id,name,31)
new steamid[41]
get_user_authid(id,steamid,40)
server_print("[AMX]CONNECTION: %s(%s)^n",name,steamid)
set_hudmessage(255, 100, 0, 0.02, 0.24, 0, 6.0, 12.0)
show_hudmessage(id, "[AMX]^n%s^nJoined the game",name)
}
return PLUGIN_HANDLED
}
With this, the HUD message isnt displayed,
could someone please tell me whats wrong ?