- Dokumentacja
- Funkcje wspólne
- setWorldLabelOptions
Funkcja
setWorldLabelOptions
Zmienia opcje napisu 3D (te same co w createWorldLabel). Pominięte opcje zostają bez zmian, attachTo = false odczepia napis.
Składnia
bool setWorldLabelOptions(element label, table options)Argumenty
labelelement- Napis z
createWorldLabel. optionstable- Nowe opcje.
Zwraca
true przy powodzeniu.
Przykład
local label = createWorldLabel("VIP", 0, 0, 3)
setWorldLabelOptions(label, { attachTo = player, offset = { 0, 0, 1.2 }, color = tocolor(255, 80, 80) })