- Dam jutro bo na stan obecny limit.
Jest już git, tylko coś po stronie tego kodu, działa nie poprawnie:
public TakeDamage(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(!ma_klase[idattacker])
return HAM_IGNORED;
if(!is_user_connected(idattacker))
return HAM_IGNORED;
if(random_num(1,7)!=1)
return HAM_IGNORED;
new maksymalne_zdrowie = 100+cod_get_user_health(idattacker);
new zdrowie = get_user_health(idattacker);
new nowe_zdrowie = (zdrowie+10<maksymalne_zdrowie+0)?zdrowie+10:maksymalne_zdrowie;
set_user_health(idattacker, nowe_zdrowie);
return HAM_IGNORED;
}


Dodatki SourceMod














