1# Tiger2008
A权限的OP120HP和150的AP
下面才是源码 。别复制错了。。
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN_NAME "ADMIN_HP/ARMOR"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "Admin"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
register_logevent("logevent_round_start", 2, "1=Round_Start")
}
public logevent_round_start()
{
new i
for(i=1;i<=32;i++)
{
if (is_user_alive(i) && (get_user_flags(i)&ADMIN_LEVEL_A))
{
set_user_health(i,120)
cs_set_user_armor(i,150,CS_ARMOR_VESTHELM)
}
}
}
页:
1
[2]