Quote:
Originally Posted by gravi123
Can someone explain to me a bit better how to use that 
|
PHP Code:
new Float:fOrigin[ 3 ];
pev( Player2ID , pev_origin , fOrigin );
if ( is_in_viewcone( Player1ID , fOrigin ) )
{
//Player1ID can 'see' Player2ID
}
You can do a traceline to make sure nothing is in the way. There is a tutorial in the code snippets section.
__________________