Hey, can someone give me a code that blocks players buying awp.
i got a code that blocks picking up, and now i need to block buying...
BTW: Picking up code:
PHP Code:
public fwd_touch(ent, id)
{
new model[33]
entity_get_string(ent, EV_SZ_model, model, 32)
pev(ent, pev_model, model, 31)
if(equali(model, "models/w_awp.mdl")||equali(model, "models/w_g3sg1.mdl")||equali(model, "models/w_sg550.mdl"))
if(PlayerCon[id] && PlayerAwp[id]) return FMRES_SUPERCEDE
return FMRES_IGNORED
}