Pls can u help me, thats not all of the code but in this piece problem. Thats Glua and i hope u help me!!!
local dPanelButton1 = vgui.Create( 'DButton', dPanelDa) --Кнопка для лотки
dPanelButton1:SetSize( 250, 50 )
dPanelButton1:SetPos( 625, 370 )
dPanelButton1:SetText( '' )
dPanelButton1.Paint = function( self, w, h )
draw.RoundedBox( 30, 0, 0, w, h, Color( 90, 90, 90, 200 ) )
draw.SimpleText( "Админский ПивоХелп", "help", w / 2, h / 2.0, Color( 224, 184, 128 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
end
dPanelButton1.DoClick = function()
local dPanelDa = vgui.Create( 'DFrame')
dPanelDa:SetSize( 500, 300 )
dPanelDa:SetPos( ScrW() / 2 - 450, ScrH() / 2 - 250)
dPanelDa:SetTitle( ' Админский ПивоХелп ' )
dPanelDa:ShowCloseButton( true )
dPanelDa:MakePopup()
dPanelDa.Paint = function( self, w, h )
draw.RoundedBox( 5, 0, 0, w, h, Color(90, 90, 90, 200) )
draw.RoundedBox( 5, 2, 2, w, 25, Color(224, 184, 128) )
end
end
timer.Simple( 1, function() PivoDerma() end ) -- потнич
end)
add some more details!add some more details!add some more detailsadd some more detailsadd some more detailsadd some more detailsadd some more detailsadd some more detailsadd some more detailsadd some more detailsadd some more details