#include #include #include #include #include #define DMG_BULLET (1<<1) new const nazwa[] = "Mr.Jack"; new const opis[] = "Posiada TMP 5 INT = 1 DMG, ALL GRANATY, AutoBH "; new const bronie = (1<= 2 ) return FMRES_IGNORED; if ( !(flags & FL_ONGROUND) ) return FMRES_IGNORED; new Float:velocity[3]; pev(id, pev_velocity, velocity); velocity[2] += 250.0; set_pev(id, pev_velocity, velocity); set_pev(id, pev_gaitsequence, 6); } return FMRES_IGNORED; } public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits) { if(!is_user_connected(idattacker)) return HAM_IGNORED; if(!ma_klase[idattacker]) return HAM_IGNORED; if(damagebits & DMG_BULLET) { new weapon = get_user_weapon(idattacker); if(weapon == CSW_TMP) cod_inflict_damage(idattacker, this, 1.0, 5.0, idinflictor, damagebits); } return HAM_IGNORED; }