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

Wysłany: 2013-08-10, 12:55


vipSEBOvip

A poor begginer






Wiek: 27
Na forum: 5319 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

Witajcie,
a wi?c tak, raz si? usuwaj?, a raz nie:

function hideWindow()
    destroyElement(log_info)
    destroyElement(lab_login)
    destroyElement(edit_login)
    destroyElement(lab_password)
    destroyElement(edit_password)
    destroyElement(butt_login)
    destroyElement(butt_register)
    
    removeEventHandler("onClientRender", getRootElement(), drawLogin)
    showCursor(false)
end


Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 10:39


Riot

3X






Wiek: 30
Na forum: 5870 dni
Posty: 1123
Nick w MP: Riot/3X

Piwa: 286

Respekt: 123
Respekt: 123

A debug m?wi ?e jest b??d z destroyElement?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 13:12


vipSEBOvip

A poor begginer






Wiek: 27
Na forum: 5319 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

W debugu pokazu si? tylko b??d z onClientRender ;p

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 19:08


Brzysiek

Skrypter pralek






Wiek: 28
Na forum: 5339 dni
Posty: 488
Nick w MP: Brzysiek

Piwa: 1034

Respekt: 360
Respekt: 360Respekt: 360Respekt: 360Respekt: 360

A jak u?ywasz tej funkcji?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 19:24


vipSEBOvip

A poor begginer






Wiek: 27
Na forum: 5319 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

Kt?rej ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 21:30


Brzysiek

Skrypter pralek






Wiek: 28
Na forum: 5339 dni
Posty: 488
Nick w MP: Brzysiek

Piwa: 1034

Respekt: 360
Respekt: 360Respekt: 360Respekt: 360Respekt: 360

hideWindow

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-11, 22:05


vipSEBOvip

A poor begginer






Wiek: 27
Na forum: 5319 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

O tak:
addEvent("hideWindow", true)
addEventHandler("hideWindow", root, hideWindow)


Serwer:
if (logIn(source, account, password) == true) then
    setElementAlpha(source, 255)
    triggerClientEvent (source, "hideWindow", getRootElement())
    fadeCamera(source, false)
    setTimer(spawn, 1000, 1, source)
end


[ Dodano: 2013-08-12, 16:28 ]
Yea ! Po dw?ch dniach m?czenia si? z tym, wreszcie si? uda?o ! :D

Postaw piwo autorowi tego posta
 

 
Tagi: usuwanie :: przycisków
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