Garry's Mod Wiki

Player:ShouldDrawLocalPlayer

  boolean Player:ShouldDrawLocalPlayer()

Description

Returns whether the local player's player model will be drawn at the time the function is called.

Despite this being a method on a player object, this will always represent the state of the local player, not of the player entity this method is used on.

Returns

1 boolean
true if the player's playermodel is visible