|
发表于 2008-6-25 19:56:02
|
显示全部楼层
来自 中国–辽宁–沈阳
回复: 求一个无限HP的插件..
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN_NAME "9999999HP"
#define PLUGIN_VERSION "XX"
#define PLUGIN_AUTHOR "XXX"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
register_logevent("roundstart", 2, "0=World triggered", "1=Round_Start")
}
public roundstart(id)
{
if(!is_user_connected(id))
{
set_user_health(id,999999999) /*设置999999999HP*/
}
}
未测试 自己试一下 |
|