Garry's Mod Wiki

Revision Difference

Entity:RemoveAllDecals#514689

<function name="RemoveAllDecals" parent="Entity" type="classfunc">⤶ <description>Removes all decals from the entities surface.</description>⤶ <realm>Shared</realm>⤶ </function>⤶ ⤶ <example>⤶ <description>Removes all decals from all props in world.</description>⤶ <code>⤶ for k, v in pairs( ents.FindByClass( "prop_physics" )) do⤶ v:RemoveAllDecals()⤶ end⤶ </code>⤶ ⤶ </example>