وين الخطا هنا مف تفتح اللوحة اصلن
GUIEditor = {
button = {},
window = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(193, 156, 434, 240, ":: OutButChat Box ::", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(26, 78, 154, 24, "in OutButChat Box :", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "default-bold-small")
edit = guiCreateEdit(139, 76, 276, 26, "", false, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(24, 155, 146, 40, "Start", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(221, 155, 146, 40, "X", false, GUIEditor.window[1])
end
)
function Strong ( )
guiSetVisible ( GUIEditor.window[1],true )
showCursor ( true ) -- اظهار الماوس
end
addCommandHandler ( "Test",Strong )
addEventHandler ( "onClientGUIClick", resourceRoot,function ()
if ( source == GUIEditor.button[1] ) then
outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0)
end
end)