Block lava / toxic damage (CS)
Looking for a simple script to block damage or death that occurs on certain custom maps, whether it be a pool of lava or a out of bounds area of the map. This damage is not the same as drowning but similar.
|
Re: Block lava / toxic damage (CS)
I think with the "dmg_bits" you can block a specific damage. Example:
Code:
|
Re: Block lava / toxic damage (CS)
Thanks for the attempt but it didn't work for my needs! The death type is trigger_hurt and I think there should be several topics regarding this matter.
|
Re: Block lava / toxic damage (CS)
I modified the code above. Also you can play with trigger_hurt's key values and set damage to 0.
Code:
public fw_TakeDamage(const victim, inflictor, const attacker, Float:damage, dmg_bits) |
Re: Block lava / toxic damage (CS)
Quote:
|
| All times are GMT -4. The time now is 09:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.