native cs_get_weapon_ammo(index);
native cs_get_user_bpammo(index, weapon);
if( cs_get_weapon_ammo >= 30 ) { //do something to him