ScriptEvent:allocDecal
From Mod Wiki
Parameters
string material -- Name of the material to use with this decal.
Result
Supported By
sdSysCallThread
Comments
- If a decal could not be allocated, the result will be -1.
- A limited number of decals can be allocated using this, so care should be taken to clean them up properly, using freeDecal.
Functionality
Allocates a decal using the supplied material, and returns a handle to it.