GUIEditor = {
button = {},
window = {},
edit = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(281, 173, 189, 322, "[ Arabic Name V1.0 By Mando ]", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible ( GUIEditor.window[1],false)
guiSetAlpha(GUIEditor.window[1], 1.00)
GUIEditor.button[1] = guiCreateButton(9, 176, 170, 42, "Set Name ", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFCF900")
GUIEditor.button[2] = guiCreateButton(9, 246, 170, 42, "Remove Name", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF33F705")
GUIEditor.label[1] = guiCreateLabel(10, 40, 172, 32, "ضع اسمك بالعربي", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "default-bold-small")
guiLabelSetColor(GUIEditor.label[1], 129, 121, 121)
GUIEditor.edit[1] = guiCreateEdit(11, 74, 168, 35, "", false, GUIEditor.window[1])
end
)
function Mando()
guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1]))
showCursor(guiGetVisible(GUIEditor.window[1]))
guiSetInputEnabled(guiGetVisible(GUIEditor.window[1]))
guiSetText(GUIEditor.edit[1],"")
end
bindKey("F7","down",Mando)