#include<amxmodx>
#include<fun>
#include<hamsandwich>
#include<cstrike>
#define FLAG_VIP read_flags("t");
public plugin_init()
{
register_plugin("VipSimplu","1.0","D3luxe");
RegisterHam(Ham_Spawn,"player","GiveItemsVip",1);
}
public GiveItemsVip(id)
{
if(get_user_flags(id) & FLAG_VIP)
{
if(is_user_alive(id))
{
set_user_health(id,200);
set_user_armor(id,200);
cs_set_user_money(id,4000);
}
}
}