How to block suicide?
How can I block suicide? There are few death/dmg forwards from few modules (Ham, engine etc...) and I don't know which one should I choose, and I want to block only suicide. (SUICIDE DOES NOT MEANS TYPING 'KILL', but Jumping down from a roof or something and then dying)
|
Re: How to block suicide?
Hook Ham_TakeDamage, check damage bits if contains DMG_FALL and supercede.
|
Re: How to block suicide?
if (damage_bits_variable == DMG_FALL)?
thats how i check it? |
Re: How to block suicide?
if (damage_bits_variable & DMG_FALL)
|
Re: How to block suicide?
what does & means? (I know that && is AND but whats &?)
|
Re: How to block suicide?
You better search in the tutorial section, already explained a lot of times.
|
Re: How to block suicide?
|
| All times are GMT -4. The time now is 14:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.