Garry's Mod Wiki

Garry's Mod Wiki

  game.AddDecal( string decalName, string materialName )

Description

Registers a new decal.

There's a rather low limit of around 256 for decal materials that may be registered and they are not cleared on map load.

Arguments

1 string decalName
The name of the decal.
2 string materialName
The material to be used for the decal. May also be a list of material names, in which case a random material from that list will be chosen every time the decal is placed.

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...