AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block bullet (https://forums.alliedmods.net/showthread.php?t=153090)

portocala 03-18-2011 11:56

Block bullet
 
Hello,

I want to block the bullet if it's going to hit the head. The bullet should act like it's mp_friendlyfire 0 when it's aimed to the head, but it should take the damage if it's aimed in the rest of the body.
I need something which can give me the chance to use victim and attacker, because I want to make some restrictions (victim team == attacker team and others). set_user_hitzones is not a good idea.

If anybody can help...

Thanks!


All times are GMT -4. The time now is 14:33.

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