diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index c7bf58ad..15430a52 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -273,8 +273,8 @@ native find_sphere_class(aroundent, _lookforclassname[], Float:radius, entlist[] //SDK function - checks if an origin is in an entity's view cone native is_in_viewcone(entity, Float:origin[3]); -//SDK function - checks if an origin is visible to an entity -native is_visible(entity, Float:origin[3]); +//SDK function - checks if an entity is visible to an entity +native is_visible(entity, target); //Added at twistedeuphoria's request, see funcwiki for details native trace_forward(Float:start[3], Float:angle, Float:give, ignoreEnt, &Float:hitX, &Float:hitY, &Float:shortestDistance, &Float:shortestDistLow, &Float:shortestDistHigh);