/* Plugin generated by AMXX-Studio */ #include #include #include #include #include #include #define DMG_BULLET (1<<1) #define DMG_HE (1<<24) new bool:ma_klase[33]; new const nazwa[] = "Elitarny Sniper [P]"; new const opis[] = "Klasa premium, ma 1/1 szansy na zabicie z awp i 1/1 z noza mniejsza widocznosc z nozem o 40%"; new bronie = 1< 20.0) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits); new weapon = get_user_weapon(idattacker); if(weapon == CSW_SCOUT) cod_inflict_damage(idattacker, this, float(get_user_health(this))-damage+1.0, 0.0, idinflictor, damagebits); return HAM_IGNORED; } public client_PreThink(id) { if(!ma_klase[id]) return; if(get_user_weapon(id) == CSW_KNIFE) set_rendering(id,kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 10); else set_rendering(id,kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255); }