How to detect when somebody suicides on acid?
Topic tittle.
Any idea? |
Re: How to detect when somebody suicides on acid?
You can register the touch between player and func_water that contents acid
|
Re: How to detect when somebody suicides on acid?
Quote:
Can you help me? :) |
Re: How to detect when somebody suicides on acid?
Hook Ham_Killed and check the m_bitsDamageType offset (76) is DMG_ACID.
|
Re: How to detect when somebody suicides on acid?
Quote:
|
Re: How to detect when somebody suicides on acid?
PHP Code:
|
Re: How to detect when somebody suicides on acid?
Untested.
PHP Code:
|
Re: How to detect when somebody suicides on acid?
Bugsy, it didn't work. Thanks anyway, I could solve it with this:
PHP Code:
|
Re: How to detect when somebody suicides on acid?
You should have said from the start you wanted to block damage...
|
Re: How to detect when somebody suicides on acid?
Exactly, you asked how to detect acid suicide (death), not block damage.
Use this instead PHP Code:
|
| All times are GMT -4. The time now is 00:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.