Garry's Mod Wiki

Revision Difference

GM:PrePlayerDraw#511237

<function name="PrePlayerDraw" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called before the player is drawn.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="player" type="Player">The player that is about to be drawn.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Prevent default player rendering. Return true to hide the player.</ret>⤶ </rets>⤶ </function>⤶ ⤶