0 Üye ve 1 Ziyaretçi konuyu incelemekte.
butonadı = guiCreateButton(a, b, c, d,"Buton", sabitlenecek-panel-adı)
Kod: luabutonadı = guiCreateButton(a, b, c, d,"Buton", sabitlenecek-panel-adı)
Ekledim fakat buton bu sefer panelde gözükmüyor
panel kodlarını atsan ?
addEventHandler("onClientResourceStart", resourceRoot, function() dersWindow = guiCreateWindow(483, 225, 401, 337, "By.Rambo Panel", false) guiWindowSetSizable(dersWindow, false) guiSetAlpha(dersWindow, 1.00) guiSetProperty(dersWindow, "CaptionColour", "FF00FED2") guiWindowSetSizable(dersWindow, false) guiWindowSetMovable(dersWindow,false) armorButon = guiCreateButton(652, 367, 96, 48,"Buton", dersWindow) guiSetFont(armorButon, "default-bold-small") addEventHandler ( "onClientGUIClick", armorButon, armorClick, false ) end) function ackapa() if (guiGetVisible (dersWindow) == true) then guiSetVisible(dersWindow, false) showCursor(false) elseif (guiGetVisible (dersWindow) == false) then guiSetVisible(dersWindow, true) showCursor(true) endendbindKey ("F2", "down", ackapa)
Kod: luaaddEventHandler("onClientResourceStart", resourceRoot, function() dersWindow = guiCreateWindow(483, 225, 401, 337, "By.Rambo Panel", false) guiWindowSetSizable(dersWindow, false) guiSetAlpha(dersWindow, 1.00) guiSetProperty(dersWindow, "CaptionColour", "FF00FED2") guiWindowSetSizable(dersWindow, false) guiWindowSetMovable(dersWindow,false) armorButon = guiCreateButton(652, 367, 96, 48,"Buton", dersWindow) guiSetFont(armorButon, "default-bold-small") addEventHandler ( "onClientGUIClick", armorButon, armorClick, false ) end) function ackapa() if (guiGetVisible (dersWindow) == true) then guiSetVisible(dersWindow, false) showCursor(false) elseif (guiGetVisible (dersWindow) == false) then guiSetVisible(dersWindow, true) showCursor(true) endendbindKey ("F2", "down", ackapa)