|
#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_H))
{
set_user_health(i,155)
cs_set_user_armor(i,200,CS_ARMOR_VESTHELM)
cs_set_user_money(i,cs_get_user_money(i)+2009)
}
}
} |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|