- Documentation
- Client functions
- destroyGroundDecal
Function
destroyGroundDecal
New function!Added to Trilogy Hub on 2 Nov 2026.
Removes a decal made with createGroundDecal.
Syntax
bool destroyGroundDecal(int decal)Arguments
decalint- Decal number.
Returns
true when the decal existed.
Example
local x, y, z = getElementPosition(localPlayer)
local decal = createGroundDecal("img/strzalka.png", x, y, z, 3)
setTimer(destroyGroundDecal, 5000, 1, decal)