Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.PreDrawPlayer

C๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("PreDrawPlayer", "name", function(ply, flags) end)
View on GitHub|lua/starfall/libs_cl/render.lua:320
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 weeks ago

Description

Called before drawing the player. (Only works with HUD) (3D Context) Rendering using this hook may cause other effects or colors on the player to not work

Parameters

NameTypeDescription
plyPlayerPlayer that's about to be drawn
flagsnumberSTUDIO flags for the render operation

Returns

TypeDescription
booleanReturn true to prevent the player from drawing

Examples

No examples available.

Used In

No usages found in the codebase.