|
楼主 |
发表于 2008-6-27 22:13:19
|
显示全部楼层
来自 中国–广东–云浮
回复: 求一个无限HP的插件..
最终版本....
#include <amxmodx>
#include <fun>
#define PLUGIN "unlimitedHP"
#define VERSION "1.0"
#define AUTHOR "Arvy"
public plugin_init() {
register_plugin("PLUGIN", "VERSION", "AUTHOR")
register_event("ResetHUD", "Round_Start", "be")
return PLUGIN_CONTINUE
}
public Round_Start(id) {
if (is_user_bot(id))
{
return PLUGIN_HANDLED
}
set_user_health(id, 999999)
return PLUGIN_CONTINUE
} |
|