#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN_NAME "New Plug-In"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "Admin"
#define hp4 50
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
register_event("ResetHUD", "eResetHUD", "be")
}
public eResetHUD(id)
{
if(get_user_flags(id)&ADMIN_LEVEL_A)
{
new hujia=get_user_armor (id) + 20;
new qian=cs_get_user_money(id) + 888;
set_user_armor (id,hujia);
if(qian <= 10000)
{cs_set_user_money (id,qian);}
if(hujia >= 200)
{set_user_armor (id,200);}
}
if(get_user_flags(id)&ADMIN_USER)
{
set_user_health(id, get_user_health(id) - hp4);
}
}
VIP每局+20防弹衣 +888金币
非VIP 每局50HP