PHP Code:
public give_stuff( id )
{
if( !is_user_alive(id) )
return PLUGIN_HANDLED;
else if( get_user_flags(id) & ADMIN_LEVEL_H )
{
fm_give_item(id, "item_assaultsuit");
fm_give_item(id, "weapon_flashbang");
fm_give_item(id, "weapon_flashbang");
fm_give_item(id, "weapon_hegrenade");
fm_give_item(id, "weapon_smokegrenade");
set_user_gravity (id, 0.75);
cs_set_weapon_ammo(fm_give_item( id, "weapon_scout" ), 0);
cs_set_user_bpammo(id, CSW_SCOUT, 0);
return PLUGIN_CONTINUE
}
return PLUGIN_CONTINUE;
}
__________________