TakeDamage & trigger_hurt problem
Hi I have this code:
PHP Code:
Some pics... [IMG]http://img12.**************/img12/5193/surfninja0000.th.jpg[/IMG] [IMG]http://img19.**************/img19/82/surfninja0001.th.jpg[/IMG] [IMG]http://img12.**************/img12/2923/surfninja0002.th.jpg[/IMG] Thanks |
Re: TakeDamage & trigger_hurt problem
You can try to check if there's a touch between the player and the trigger_hurt, and then kill the player, else, set him godmode, or check the dmg_bits (if dmg_fall then kill them?)
P.S. You should try to make another method to make a surf godmode, I'll try to do one =) |
Re: TakeDamage & trigger_hurt problem
Quote:
This method is effective, but I have that bug -_- If I set the pcvar cvar_godmode to 0 the trigger_hurt works fine. :| |
Re: TakeDamage & trigger_hurt problem
What you exactly want to do ?
Prevent players to shoot other players and let every other damage ? |
Re: TakeDamage & trigger_hurt problem
If a player have godmode and attack other player, remove the godmode of the player.
Quote:
|
Re: TakeDamage & trigger_hurt problem
You don't get it, question is which damage do you want to block and which one do you want to allow ?
|
Re: TakeDamage & trigger_hurt problem
Quote:
|
Re: TakeDamage & trigger_hurt problem
lmao ILUSION you need to tell what you wanna do
|
Re: TakeDamage & trigger_hurt problem
What kind of damage(hurt) do you want to block?
|
Re: TakeDamage & trigger_hurt problem
I want to block shots, knife damage and nade damage.
|
| All times are GMT -4. The time now is 02:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.