poradziłem sobie. Jak ktoś ma z tym problemy to w DotykBroni dodajemy takie cos:
z
public DotykBroni(weapon,id)
{
new model[23];
entity_get_string(weapon, EV_SZ_model, model, 22);
if (!is_user_connected(id) || entity_get_edict(weapon, EV_ENT_owner) == id || equal(model, "models/w_backpack.mdl"))
return HAM_IGNORED;
return HAM_SUPERCEDE;
}na:
public DotykBroni(weapon,id)
{
new model[23];
entity_get_string(weapon, EV_SZ_model, model, 22);
if (!is_user_connected(id) || entity_get_edict(weapon, EV_ENT_owner) == id || equal(model, "models/w_backpack.mdl") || klasa_gracza[id] == NazwaTwojejKlasy)
return HAM_IGNORED;
return HAM_SUPERCEDE;
}


Dodatki SourceMod



Temat jest zamknięty









