Hai. I try to restrict Ct's from pick up the shield...but this code is *
not working...
*Note: If someone drop's the shield and i go right after that on him, is not picking up but next second is picking up

...
Code:
public Fwd_Touch(Ent, id)
{
static model[32], classname[32];
pev(Ent, pev_classname, classname , sizeof classname - 1);
pev(Ent, pev_model, model, sizeof model - 1);
if(equali(classname, "weaponbox") && equali(model, "w_shield.mdl") && get_user_team(id) == 2)
return FMRES_SUPERCEDE;
return FMRES_IGNORED;
}
Thanks.
__________________