Garry's Mod Wiki

Revision Difference

Player:SetNoTarget#512433

<function name="SetNoTarget" parent="Player" type="classfunc">⤶ <description>⤶ Sets the players visibility towards NPCs.⤶ ⤶ Internally this toggles the [FL_NOTARGET](/gmod/Enums/FL) flag, which you can manually test for using <page>Entity:IsFlagSet</page>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="visibility" type="boolean">The visibility.</arg>⤶ </args>⤶ </function>⤶ ⤶