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

Wysłany: 2016-03-25, 13:38


nox







Wiek: 33
Na forum: 3766 dni
Posty: 51
Nick w MP: nox



Respekt: 50

mam taki kod i panel nie chce sie zamknac

GUIEditor = {
    gridlist = {},
    staticimage = {},
    button = {}
}
addEventHandler("onClientResourceStart"resourceRoot,
    function()
local screenWscreenH guiGetScreenSize()
        GUIEditor.staticimage[1] = guiCreateStaticImage((screenW 640) / 2, (screenH 400) / 2640400":obrazki5/images/1.png"false)
GUIEditor.label[1] = guiCreateLabel(1030421765" ---- "falseGUIEditor.staticimage[1])
   
        GUIEditor.button[2] = guiCreateButton(1015421765""falseGUIEditor.staticimage[1])
        GUIEditor.button[3] = guiCreateButton(1022921765""falseGUIEditor.staticimage[1])
        GUIEditor.button[4] = guiCreateButton(1030421765""falseGUIEditor.staticimage[1])
        GUIEditor.gridlist[1] = guiCreateGridList(36047270343falseGUIEditor.staticimage[1])
        guiGridListAddColumn(GUIEditor.gridlist[1], "Gracz"0.9)
        guiSetAlpha(GUIEditor.gridlist[1], 0.72)    
    end
)

function openPanel()
guiSetVisible(GUIEditor.staticimage[1], true)
showCursor(true)
end
addCommandHandler("pdp"openPanel)

function zamykamy()
if source == GUIEditor.label[1then 
guiSetVisible(GUIEditor.staticimage[1],falseshowCursor(falseend
end 
addEventHandler("onClientGUIClick"rootzamykamy)

w db3 mam cos takiego :
http://i.imgur.com/kszdmXp.png

co zrobic ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-03-25, 14:02


marcin778

Krytyk serwerów MTA






Wiek: 24
Na forum: 4149 dni
Posty: 2268
Nick w MP: Marcineg

Piwa: 4662

Respekt: 1436,8
Respekt: 1436,8


local screenWscreenH guiGetScreenSize()
        GUIEditor.staticimage[1] = guiCreateStaticImage((screenW 640) / 2, (screenH 400) / 2640400":obrazki5/images/1.png"false)
GUIEditor.label[1] = guiCreateLabel(1030421765" ---- "falseGUIEditor.staticimage[1])
   
        GUIEditor.button[2] = guiCreateButton(1015421765""falseGUIEditor.staticimage[1])
        GUIEditor.button[3] = guiCreateButton(1022921765""falseGUIEditor.staticimage[1])
        GUIEditor.button[4] = guiCreateButton(1030421765""falseGUIEditor.staticimage[1])
        GUIEditor.gridlist[1] = guiCreateGridList(36047270343falseGUIEditor.staticimage[1])
        guiGridListAddColumn(GUIEditor.gridlist[1], "Gracz"0.9)
        guiSetAlpha(GUIEditor.gridlist[1], 0.72)    


function openPanel()
guiSetVisible(GUIEditor.staticimage[1], true)
showCursor(true)
end
addCommandHandler("pdp"openPanel)

function zamykamy()
if source == GUIEditor.label[1then 
guiSetVisible(GUIEditor.staticimage[1],falseshowCursor(falseend
end 
addEventHandler("onClientGUIClick"rootzamykamy)


Podpis
Moje prace: https://www.youtube.com/c...MuaWGHPp1mhlGnw

-- obecnie
-- obecnie
-- dawniej
-- dawniej
-- dawniej
Postaw piwo autorowi tego posta
 

 
Tagi: panel :: nie :: chce :: się :: zamknąc
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » panel nie chce się zamknąc 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