View Single Post
Author Message
urban_ninja
Senior Member
Join Date: Feb 2009
Old 04-14-2014 , 18:01   Engine func issues with CS
Reply With Quote #1

I am trying to fix the rifles being able to shoot through walls exploite but the is_visible() and is_visible_origin() always return false whether both players can see each other or not. I have no issue with the function working properly in tfc. I use these 2 functions all the time in tfc. Could some one explain to me why these engine module functions have no effect in Counter Strike?

PHP Code:
public damage(victimwpnattackerFloat:dmgbit)
{
    if(!
is_visible(victimattacker))
    {
        
ExecuteHam(Ham_TakeDamageattackerwpnattackerdmgbit)
        return 
HAM_SUPERCEDE;
    }
    return 
HAM_IGNORED;

urban_ninja is offline