Dr.Marco Posted July 13, 2016 Share Posted July 13, 2016 شبااب وش الخطا هون ملاحظة صورة لديبيق FontWnd = guiCreateFont( "Font.ttf", 19 ) FontLabel = guiCreateFont( "Font.ttf", 13 ) FontButton = guiCreateFont( "Font.ttf", 13 ) guiSetFont(show, FontWnd) showCursor(false) function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end bindKey("F1", "down", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] (606, 211, 192, 119, " Mode#Hrdaz BY Marco", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.94) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFDDFE00") GUIEditor.button[1] = guiCreateButton(37, 22, 134, 36 " تشغيل هردز / Start Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[1],font) GUIEditor.button[2] = guiCreateButton(38, 67, 133, 36, "إيقاف الهدرز / Stop Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[2],font) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox(" # - [ الهدرز | آنت لست داخل الموتر] - # ",172, 92, 20,true) end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("ksa.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) ----- اطفاء الصوت بعد النزول من الموتر function carChangeExit(player,seat) if(player == getLocalPlayer()) then car = nil currentVHP = nil stopSound( sound ) destroyElement(sound) end end Link to comment
Dr.Marco Posted July 13, 2016 Author Share Posted July 13, 2016 شبااب وشالخطا هون ملاحظة صورة لديبيق FontWnd = guiCreateFont( "Font.ttf", 19 ) FontLabel = guiCreateFont( "Font.ttf", 13 ) FontButton = guiCreateFont( "Font.ttf", 13 ) guiSetFont(show, FontWnd) showCursor(false) function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end bindKey("F1", "down", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] (606, 211, 192, 119, " Mode#Hrdaz BY Marco", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.94) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFDDFE00") GUIEditor.button[1] = guiCreateButton(37, 22, 134, 36 " تشغيل هردز / Start Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[1],font) GUIEditor.button[2] = guiCreateButton(38, 67, 133, 36, "إيقاف الهدرز / Stop Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[2],font) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox(" # - [ الهدرز | آنت لست داخل الموتر] - # ",172, 92, 20,true) end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("ksa.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) ----- اطفاء الصوت بعد النزول من الموتر function carChangeExit(player,seat) if(player == getLocalPlayer()) then car = nil currentVHP = nil stopSound( sound ) destroyElement(sound) end end Link to comment
Dr.Marco Posted July 13, 2016 Author Share Posted July 13, 2016 فاصلة ناقصة لوححة ما تظهر ,,,, Link to comment
Ahmed Ly Posted July 13, 2016 Share Posted July 13, 2016 FontWnd = guiCreateFont( "Font.ttf", 19 ) GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] (606, 211, 192, 119," Mode#Hrdaz BY Marco", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.94) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFDDFE00") GUIEditor.button[1] = guiCreateButton(37, 22, 134, 36," تشغيل هردز / Start Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[1],FontWnd) GUIEditor.button[2] = guiCreateButton(38, 67, 133, 36, "إيقاف الهدرز / Stop Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[2],FontWnd) guiSetVisible( GUIEditor.window[1],false) bindKey("F1", "down", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox(" # - [ الهدرز | آنت لست داخل الموتر] - # ",172, 92, 20,true) end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("ksa.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end ) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now