Garry's Mod Wiki

Revision Difference

GM:PostProcessPermitted#563163

<function name="PostProcessPermitted" parent="GM" type="hook"> <description>Allows you to suppress post processing effect drawing.</description> <realm>Client</realm> <args> <arg name="ppeffect" type="string">The classname of Post Processing effect</arg> <arg name="effect_name" type="string">The classname of Post Processing effect</arg> </args> <rets> <ret name="" type="boolean">Return true/false depending on whether this post process should be allowed</ret> </rets> </function>