Garry's Mod Wiki

GM:PrePlayerDraw

GM:PrePlayerDraw

  boolean GM:PrePlayerDraw( Player player, number flags )

Description

Called before the player is drawn.

Arguments

1 Player player
The player that is about to be drawn.
2 number flags
The STUDIO_ flags for this render operation.

Returns

1 boolean
Prevent default player rendering. Return true to hide the player.

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 2
Generate Html 5
SaveChanges (1) 6
Render Body 0
Render Sidebar 7