Open Kefta opened 6 years ago
Would prevent RenderOverride overrides like this one: https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/chatindicator/cl_init.lua#L36-L43
Would be nice if we could get this added in now that its 2020, was gunna make a feature request aswell but luckily one already exists so bumping it up.
These callbacks would be added with ENTITY:AddCallback, and called before and after the entity is rendered, respectively. This is an alternative that essentially bypasses the one RenderOverride per entity rule. Being able to block drawing from PreEntityDraw from returning true would be nice too.