function createMarker ()
createMarker(1922.50562,-1760.24609,13.54688,"cylinder",1.5,255,255,0,170)
end
GUIEditor = {
button = {},
window = {},
memo = {}
}
addEventHandler("onClientMarkerHit", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(222, 189, 610, 397, "في اي مدينه سوف تعيش", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.button[1] = guiCreateButton(18, 183, 247, 110, "لاس فيغاس", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
GUIEditor.button[2] = guiCreateButton(322, 184, 248, 109, "لوس سانتوس", false, GUIEditor.window[1])
GUIEditor.memo[1] = guiCreateMemo(61, 38, 490, 105, "اذا كنت قد اخترت احد المدن فسوف تكون هذه هي مدينتك للأبد ", false, GUIEditor.window[1])
end
)
addEventHandler("onClientGUIClick",root)
function outPutChatBox()
if source == GUIEditor.button[2] then
setElementPosition (thePlayer , 1916.07837,-1759.90369,13.54688)
if source == GUIEditor.button[1] then
setElementPosition (theplayer , 1916.07837,-1759.90369,13.54688)
end
end
end