pac3 icon indicating copy to clipboard operation
pac3 copied to clipboard

Outfits draw on players that are set to not draw.

Open unknao opened this issue 2 years ago • 3 comments

When you set the player to not draw with any of the nodraw functions or hooks the outfit still renders regardless if the player is drawn or not, this is not the case if the outfit wearer is not a player.

unknao avatar Jul 23 '23 16:07 unknao

Seems to draw on NPCS aswell.

unknao avatar Jul 23 '23 16:07 unknao

Are you sure it's a bug? The entity part isn't for controlling the whole outfit. It's only an entity modifier to modify some of the owner's properties.

Also, "any of the nodraw functions or hooks" is quite unspecific. Hooks? Name them.

pingu7867 avatar Jul 23 '23 16:07 pingu7867

To me the indication that it hides the outfits on props and not players or npcs make it look like its a bug and not an intended thing on PACs part. The function i used was SetNoDraw and the hooks were PrePlayerDraw and ShouldDrawLocalPlayer.

unknao avatar Jul 23 '23 19:07 unknao