AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Stop anim (https://forums.alliedmods.net/showthread.php?t=183847)

Diegorkable 04-27-2012 14:24

Stop anim
 
Hey guys.

Lets say I want to disable people from damaging each other.
so I hook Ham_TakeDamage and return HAM_SUPERCEDE.
Is there any way to stop the "attack anim" of the attacker aswell?
And if Ham_Takedamage isn't the right use, what else is?
When you return HAM_SUPERCEDE in Ham_TakeDamage the player's head still gets shaked if its a head shot and blood is coming out. I want that the anim will stop or something like that so it won't even affect the other player, not only in terms of HP, so I thought stopping the animation would be good.

thx.


All times are GMT -4. The time now is 07:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.