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

Funkcja

setElementColShape

SerwerElementyTylko Trilogy Hub

Przypisuje strefę kolizji do znacznika albo pickupa. nil usuwa przypisanie.

Składnia

bool setElementColShape(element theElement, colshape theShape)

Argumenty

theElementelement
Znacznik albo pickup.
theShapecolshape
Strefa albo nil.

Zwraca

true przy powodzeniu.

Przykład

local shape = createColCircle(1500, -1600, 5)
setElementColShape(marker, shape)

Zobacz też