SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje klienta
  3. destroyGroundDecal

Funkcja

destroyGroundDecal

Nowa funkcja!Dodana do Trilogy Hub 02.11.2026.

KlientRysowanie (dx)Tylko Trilogy Hub

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)

Zobacz też