回复: 请问如何去掉"炸弹已被安置"这个信息?
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("No Bomb Planted Hint", "1.0", "Rulzy")
register_message(get_user_msgid("TextMsg"), "HookTextMsg")
}
public HookTextMsg()
{
new s
get_msg_arg_string(2, s, 31)
if(contain(s, "#Bomb_P")==0)
return PLUGIN_HANDLED
return PLUGIN_CONTINUE
}
页:
1
[2]