GUIEditor = {
memo = {},
button = {},
window = {},
}
GUIEditor.window[1] = guiCreateWindow(226, 84, 822, 574, "قـــوانـــيــن الــســيــرفــر", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.button[1] = guiCreateButton(204, 499, 431, 66, "I Agree And Acttep", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[1], "sa-header")
GUIEditor.memo[1] = guiCreateMemo(10, 30, 803, 460, "القوانين هنا\n\n", false, GUIEditor.window[1])
addEventHandler ( "onClientGUIClick", GUIEditor.button[1],
function ( )
guiSetVisible ( GUIEditor.window[1], false )
showCursor ( false )
end
)
function Show()
if guiGetVisible ( GUIEditor.window[1] ) then
guiSetVisible ( GUIEditor.window[1], false )
showCursor(false)
guiSetInputEnabled(false)
else
guiSetVisible ( GUIEditor.window[1], true )
showCursor(true)
guiSetInputEnabled(true)
end
end
bindKey("F12", "down", Show)