Player.SetNoTarget
From GMod Wiki
| Function | |
| Syntax | Player:SetNoTarget( Boolean visible ) |
| Description: | |
| Makes the player invisible to npcs | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetNoTarget]Player.SetNoTarget [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | This enables no target on player 1. |
|---|---|
| Used on | |
| Code | player.GetByID(1):SetNoTarget(true) |
| Output | N/A |