Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2014-10-11, 18:06


Vike4562

LUA <3






Wiek: 28
Na forum: 4938 dni
Posty: 144
Nick w MP: Vike4562

Piwa: 32

Respekt: 61

Prosz? o pomoc, nie wiem w jaki spos?b mam u?y? tego, ja to rozumiem w ten spos?b:
setElementVisibleTo(root, "Tekst", false)

inna funkcja:
setElementVisibleTo(source, "Tekst", true)

Jak mam to zrobi? by by?o ok ? :arrow: :arrow: :piwo:

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-11, 19:13


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

musisz u?y? to podw?jnie, powiedzmy dla root false dla cb true.

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-11, 19:49


Vike4562

LUA <3






Wiek: 28
Na forum: 4938 dni
Posty: 144
Nick w MP: Vike4562

Piwa: 32

Respekt: 61

no tyle to ja te? wiem, ale jak robie tak:

local blip = createBlipAttachedTo(source, 0, 2, 0, 100, 255, 200, 0, 500, blip)
setElementVisibleTo(getRootElement(), "blip", false)
setElementVisibleTo(source, "blip", true)

z i bez apostrof?w wywala b??dy, pr?bowa?em na kilka sposob?w ale nie chce dzia?a? ;/

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-11, 21:48


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

theElement: The element you want to control the visibility of.
visibleTo: The element you wish the element to be visible or invisible to. Any child elements that are players will also be able to see the element. See visibility.
visible: Whether you are making it visible or invisible to the player.


Kolejno?? z wiki..

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-11, 21:55


Vike4562

LUA <3






Wiek: 28
Na forum: 4938 dni
Posty: 144
Nick w MP: Vike4562

Piwa: 32

Respekt: 61

Czyta?em to kilka razy..

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-10-11, 23:13


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

setElementVisibleTo ( blip, root, false )
setElementVisibleTo ( blip, source, true )

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Tagi: setelementvisibleto
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » setElementVisibleTo Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku