View Single Post
DarthMan
Veteran Member
Join Date: Aug 2011
Old 12-11-2021 , 12:57   Re: Players collision
Reply With Quote #2

Quote:
Originally Posted by joseph9 View Post
Hello everyone, when..
PHP Code:
set_pev(idpev_solidSOLID_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.
DarthMan is offline