0 Üye ve 1 Ziyaretçi konuyu incelemekte.
sC,sD = guiGetScreenSize()C,D = 460,330A = (sC/2) - (C/2)B = (sD/2) - (D/2)panel = guiCreateWindow(A, B, C, D, "Arac Kurtarma", false)guiSetProperty(panel, "CaptionColour", "FF12FE00")guiWindowSetSizable(panel, false)guiWindowSetMovable(panel, false)guiSetVisible(panel, false)guiSetAlpha(panel, 1)buton = guiCreateButton(100, 275, 230, 35, "Cevir", false, panel)guiSetProperty(buton, "NormalTextColour", "FF17FE00")guiSetProperty(buton, "HoverTextColour", "FFFE0000")guiSetProperty(buton, "PushedTextColour", "FFFD7100")guiSetFont(buton, "default-bold-small")guiSetAlpha(buton, 1)buton = guiCreateButton(356, 275, 84, 35, "Kapat", false, panel)guiSetProperty(buton, "NormalTextColour", "FF17FE00")guiSetProperty(buton, "HoverTextColour", "FFFE0000")guiSetProperty(buton, "PushedTextColour", "FFFD7100")guiSetFont(buton, "default-bold-small")guiSetAlpha(buton, 1)function kapat()if source == buton thenguiSetVisible(panel, false)showCursor(false)endendaddEventHandler("onClientGUIClick", root, kapat)function ackapa()if (guiGetVisible (panel) == true) thenguiSetVisible(panel, false)showCursor(false)elseif (guiGetVisible (panel) == false) thenguiSetVisible(panel, true)showCursor(true)endendbindKey ("F10", "down", ackapa)addCommandHandler("panel", ackapa)
cevir = guiCreateButton(100, 275, 230, 35, "Cevir", false, panel)
buton = guiCreateButton(356, 275, 84, 35, "Kapat", false, panel)