Functions/Vector/Shared/isInSight
Function | |
Function name | Vector:isInSight(table filter, Player ply) |
Description: | |
Decides whether the vector could be seen by the player if they were to look at it. | |
Returns: | boolean answer, Vector HitPos |
Part of Library: | Vector |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/Vector/Shared/isInSight]Vector:isInSight[/url][/b] |
Function parameters[edit]
- filter (table)
- ply (Player)
Trace filter that decides what the player can see through.
The player for whom the vector may or may not be visible.