Garry's Mod Wiki

Garry's Mod Wiki

  number util.RemoveDecalsAt( Vector pos, number distance, number limit = 0, boolean permanent = false )

Description

Removes world decals at given position, in given radius. Does not remove decals on models!

Arguments

1 Vector pos
The position at which to remove decals.
2 number distance
Radius of the sphere to remove decals in.
3 number limit = 0
If set to above 0, only remove this many decals.
4 boolean permanent = false
Whether to remove map-spawned decals (true), or only gameplay-spawned decals such as bullet holes or anything placed by util.Decal and similar(false)

Returns

1 number removed
How many decals were removed.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...