View Single Post
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 04-14-2014 , 21:30   Re: Engine func issues with CS
Reply With Quote #3

Quote:
Originally Posted by urban_ninja View Post
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;

What?

Try to explain what do you "think" that is_visible checks...
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline