Garry's Mod Wiki


  game.AddDecal( string decalName, string materialName )


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.


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.