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

Wysłany: 2014-11-08, 21:15


Dixers

No-Life






Wiek: 26
Na forum: 4312 dni
Posty: 549
Nick w MP: Dixers

Piwa: 412

Respekt: 56,8

Witam serdecznie. Co jest nie tak? T?o "monitor" si? nie pojawia, guiSetVisible nie dzia?a.


addEventHandler("onClientResourceStart"resourceRoot,
    function()
        monitor guiCreateStaticImage(394188806555":monitor.png"false)
        guiSetVisible(monitorfalse)
        zamknij guiCreateButton(60343614559"ZAMKNIJ SYSTEM"falsemonitor)
        kamera1 guiCreateButton(519714559"Kamera 1"falsemonitor)
        kamera2 guiCreateButton(5118214559"Kamera 2"falsemonitor)
        kamera3 guiCreateButton(5126914559"Kamera 3"falsemonitor)
        kamera4 guiCreateButton(2119714559"Kamera 4"falsemonitor)
        kamera5 guiCreateButton(21118214559"Kamera 5"falsemonitor)
        alarm guiCreateButton(5029714559"Uruchom alarm OSP"falsemonitor)
        wezwanie guiCreateButton(50218114559"Wezwij druh?w z OSP"falsemonitor)
        kamera6 guiCreateButton(21126914559"Kamera 6"falsemonitor)
        monitoring guiCreateLabel(393933652"Monitoring:"falsemonitor)
        guiSetFont(monitoring"sa-header")
        guiLabelSetColor(monitoring000)
        napisAlarm guiCreateLabel(4703933652"Alarm:"falsemonitor)
        guiSetFont(napiszAlarm"sa-header")
        guiLabelSetColor(napiszAlarm000)    
    end
)




ZA POMOC :piwo:

Wiem, ?e to s? dziecinne b??dy, ale bardzo ?le si? czuj? i nie my?l? :(

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-11-09, 03:06


Maximerr

Programmer PHP, LUA






Wiek: 25
Na forum: 4427 dni
Posty: 548

Piwa: 1051

Respekt: 365,3
Respekt: 365,3Respekt: 365,3Respekt: 365,3Respekt: 365,3

Jak to nie dzia?a? Pod funkcj? guiCreateStaticImage masz zmienn? jego i false, co oznacza ukrycie okna.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-11-09, 09:43


TheTroll

Pan Majster






Wiek: 38
Na forum: 4764 dni
Posty: 219
Nick w MP: TheTroll

Piwa: 1114

Respekt: 120
Respekt: 120

Spr?buj tak
monitor guiCreateStaticImage(394188806555"monitor.png"false)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-11-09, 10:15


Dixers

No-Life






Wiek: 26
Na forum: 4312 dni
Posty: 549
Nick w MP: Dixers

Piwa: 412

Respekt: 56,8

Mam tak i nadal si? nie pojawia monitor:

addEventHandler("onClientResourceStart"resourceRoot,
    function()
    monitor guiCreateStaticImage(394188806555":monitor.png"true)
        zamknij guiCreateButton(60343614559"ZAMKNIJ SYSTEM"falsemonitor)
        kamera1 guiCreateButton(519714559"Kamera 1"falsemonitor)
        kamera2 guiCreateButton(5118214559"Kamera 2"falsemonitor)
        kamera3 guiCreateButton(5126914559"Kamera 3"falsemonitor)
        kamera4 guiCreateButton(2119714559"Kamera 4"falsemonitor)
        kamera5 guiCreateButton(21118214559"Kamera 5"falsemonitor)
        alarm guiCreateButton(5029714559"Uruchom alarm OSP"falsemonitor)
        wezwanie guiCreateButton(50218114559"Wezwij druh?w z OSP"falsemonitor)
        kamera6 guiCreateButton(21126914559"Kamera 6"falsemonitor)
        monitoring guiCreateLabel(393933652"Monitoring:"falsemonitor)
        guiSetFont(monitoring"sa-header")
        guiLabelSetColor(monitoring000)
        napisAlarm guiCreateLabel(4703933652"Alarm:"falsemonitor)
        guiSetFont(napisAlarm"sa-header")
        guiLabelSetColor(napisAlarm000)    
    end
)


A jak zmieni?em na to to w og?le nawet button?w nie ma:

monitor guiCreateStaticImage(394188806555"monitor.png"false)


Postaw piwo autorowi tego posta
 

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


MeeShuffle

Programista/Grafik






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

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

Usu? addEventHandler i wszystkie endy przypasowane do niego.

Podpis

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

 
Wysłany: 2014-11-09, 10:26


Dixers

No-Life






Wiek: 26
Na forum: 4312 dni
Posty: 549
Nick w MP: Dixers

Piwa: 412

Respekt: 56,8

Oj nie. Jednak dzia?a. ?le skopiowa?em bo bez nawiasu :) Dzia?a. Otrzymujesz :piwo: TheTroll,

[ Dodano: 2014-11-09, 10:27 ]
Mam tak i dzia?a. Wszyscy dostaniecie piwo :)

addEventHandler("onClientResourceStart"resourceRoot,
    function()
    monitor guiCreateStaticImage(394188806555"monitor.png"false)
        zamknij guiCreateButton(60343614559"ZAMKNIJ SYSTEM"falsemonitor)
        kamera1 guiCreateButton(519714559"Kamera 1"falsemonitor)
        kamera2 guiCreateButton(5118214559"Kamera 2"falsemonitor)
        kamera3 guiCreateButton(5126914559"Kamera 3"falsemonitor)
        kamera4 guiCreateButton(2119714559"Kamera 4"falsemonitor)
        kamera5 guiCreateButton(21118214559"Kamera 5"falsemonitor)
        alarm guiCreateButton(5029714559"Uruchom alarm OSP"falsemonitor)
        wezwanie guiCreateButton(50218114559"Wezwij druh?w z OSP"falsemonitor)
        kamera6 guiCreateButton(21126914559"Kamera 6"falsemonitor)
        monitoring guiCreateLabel(393933652"Monitoring:"falsemonitor)
        guiSetFont(monitoring"sa-header")
        guiLabelSetColor(monitoring000)
        napisAlarm guiCreateLabel(4703933652"Alarm:"falsemonitor)
        guiSetFont(napisAlarm"sa-header")
        guiLabelSetColor(napisAlarm000)    
    end
)


Postaw piwo autorowi tego posta
 

 
Tagi: gui
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA 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