AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Damage show block with Ham_FVisible (https://forums.alliedmods.net/showthread.php?t=214453)

FromTheFuture 04-27-2013 08:48

Damage show block with Ham_FVisible
 
Hi. I'm try to block damage show when player not see victim in client_damage function, but it's not work.

PHP Code:

if(wpn == CSW_HEGRENADE)
    {
        if(!(
ExecuteHam(Ham_FVisiblepidid)))  // not work
        
return;
    } 

Always return False.

Bos93 04-27-2013 08:55

Re: Damage show block with Ham_FVisible
 
use Ham_TakeDamage


All times are GMT -4. The time now is 10:46.

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