- Dokumentacja
- Funkcje klienta
- destroyGroundDecal
Funkcja
destroyGroundDecal
Nowa funkcja!Dodana do Trilogy Hub 02.11.2026.
Usuwa decal z createGroundDecal.
Składnia
bool destroyGroundDecal(int decal)Argumenty
decalint- Numer decala.
Zwraca
true, gdy decal istniał.
Przykład
local x, y, z = getElementPosition(localPlayer)
local decal = createGroundDecal("img/strzalka.png", x, y, z, 3)
setTimer(destroyGroundDecal, 5000, 1, decal)