W moim przypadku mamy na to 1/5 szanse. Jak chcesz to zmienić to zmień random_num(1,5)
Do: public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits
Dodajemy:
if(informacje_przedmiotu_gracza[idattacker][0] == Numer Itemu && random_num(1,5) == 1){
new Float:vel[3];
pev(this, pev_velocity, vel);
vel[2] += 300.0;
set_pev(this, pev_velocity, vel);
}
Użytkownik rio fragusek edytował ten post 30.07.2011 20:49


Dodatki SourceMod



Temat jest zamknięty











