Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: rzecz...
1. brak grid listy oraz jeszcze jedna rzecz...
to zn?w ja z moim panelem xd tym razem chodzi, ?e mam taki kod i nie pokazuje mi si? wgl. grid lista

GUIEditor 
= {
    
gridlist = {},
    
staticimage = {},
    
label = {}
}
addEventHandler("onClientResourceStart"resourceRoot,
    function()
local screenWscreenH guiGetScreenSize()
        
GUIEditor.staticimage[1] = guiCreateStaticImage((screenW 640) / 2, (screenH 400) / 2640400":obrazki3/images/3.png"false)
 
GUIEditor.label[1] = guiCreateLabel(1329716859"  "falseGUIEditor.staticimage[1])
       
GUIEditor.gridlist[1] = guiCreateGridList(37442248338falseGUIEditor.staticimage[1])
        
guiGridListAddColumn(GUIEditor.gridlist[1], "Gracz"0.9)
        
guiSetAlpha(GUIEditor.gridlist[1], 0.71)    
       

        
guiSetVisible(GUIEditor.staticimage[1],false


    
end
)

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

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


Dodatkowym problemem jest to, ?e je?li gracz wchodzi na serwer od razu pojawia mu si? panel jak zmienic to tak by panel pojawia? si? dopiero po komendzie ?