Quote:
Originally Posted by joseph9
Hello everyone, when..
PHP Code:
set_pev(id, pev_solid, SOLID_NOT)
..I can't attack players. Is there a way to achieve that? I would like players to be non-solid and be able to attack.
|
It is definitely possible, however, not with AMXX. You would need to hook PM_Move (can be done with orpheu as well), however, I don't think that the module is enough powerful to be able to change the structure members. The only way I can think of to achieve your goal is by making a metamod plugin (c++ and hlsdk knowledge required). You'll also need to set the entity state solid to 0 in pfnAddToFullPack (this can also be achieved with an AMXX plugin) if the entity is a valid player.