|
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
|
04-14-2014
, 21:30
Re: Engine func issues with CS
|
#3
|
Quote:
Originally Posted by urban_ninja
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(victim, wpn, attacker, Float:dmg, bit) { if(!is_visible(victim, attacker)) { ExecuteHam(Ham_TakeDamage, attacker, wpn, attacker, dmg, bit) return HAM_SUPERCEDE; } return HAM_IGNORED; }
|
What?
Try to explain what do you "think" that is_visible checks...
__________________
Quote:
Originally Posted by joropito
You're right Metalicross
|
|
|
|
|