Hello I want replacement
TextMsg with
Hud_Message !
but ignorant of the way so any one can help me ?
PHP Code:
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("TextMsg"), "msgTextMsg");
}
public msgTextMsg(id)
{
static textmsg[22];
get_msg_arg_string(2, textmsg, 21);
if(equal(textmsg, "#Vote"))
{
set_hudmessage(255, 255, 0, 0.48, 0.12, 0, 0.1 , 10.0, 0.04)
show_hudmessage(0, "Test Message!")
}
return PLUGIN_HANDLED
}
__________________