Mr-MohameD Posted May 24, 2018 Posted May 24, 2018 شباب دو الاكواد GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") c = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then بدي عند الضغط على زر يخرج GUIEditor.label[1] يبقى 5 ثواني ويروح
|M.r|LooFe| Posted May 24, 2018 Posted May 24, 2018 (edited) يعني تبيه لما يضغط على الزر الي موجود فاللوحة يظهر الليبل؟ Edited May 24, 2018 by |M.r|LooFe|
Mr-MohameD Posted May 24, 2018 Author Posted May 24, 2018 يب ويبقى اليبل 5 ثواني ويروح ارجو ان تساعدني ....
Doffy Posted May 24, 2018 Posted May 24, 2018 (edited) قبل ما تحط اخوي المرة الجاية سوي <> مشان نفهم اكوادك علي العموم تفضل GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") GUIEditor.label[1] = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.label[1], true) setTimer(function( localPlayer ) guiSetVisible(GUIEditor.label[1], false) end,5000,1,localPlayer) end end ) Edited May 24, 2018 by #DesTroeyR
Mr-MohameD Posted May 24, 2018 Author Posted May 24, 2018 1 hour ago, |M.r|LooFe| said: يعني تبيه لما يضغط على الزر الي موجود فاللوحة يظهر الليبل؟ يب 49 minutes ago, #DesTroeyR said: قبل ما تحط اخوي المرة الجاية سوي <> مشان نفهم اكوادك علي العموم تفضل GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") GUIEditor.label[1] = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.label[1], true) setTimer(function( localPlayer ) guiSetVisible(GUIEditor.label[1], false) end,5000,1,localPlayer) end end ) شكراااااا حبيبي انت , ربي يحفضك 54 minutes ago, #DesTroeyR said: قبل ما تحط اخوي المرة الجاية سوي <> مشان نفهم اكوادك علي العموم تفضل GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") GUIEditor.label[1] = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.label[1], true) setTimer(function( localPlayer ) guiSetVisible(GUIEditor.label[1], false) end,5000,1,localPlayer) end end ) اسممع طيب ممكن كود اذا انفتحت اللوحة الليبل يروح ويجي يعني اليبل يروح ويرجع في اللوحة اذا ما اتعبتكــــ
Gladiator Posted May 24, 2018 Posted May 24, 2018 40 minutes ago, Mr-MohameD said: يب شكراااااا حبيبي انت , ربي يحفضك اسممع طيب ممكن كود اذا انفتحت اللوحة الليبل يروح ويجي يعني اليبل يروح ويرجع في اللوحة اذا ما اتعبتكــــ تبغا الليبل يروح يمين ويسار ولا يختفي ويظهر كل شوى
Mr-MohameD Posted May 24, 2018 Author Posted May 24, 2018 20 minutes ago, Gladiator said: تبغا الليبل يروح يمين ويسار ولا يختفي ويظهر كل شوى 20 minutes ago, Gladiator said: تبغا الليبل يروح يمين ويسار ولا يختفي ويظهر كل شوى 20 minutes ago, Gladiator said: تبغا الليبل يروح يمين ويسار ولا يختفي ويظهر كل شوى 20 minutes ago, Gladiator said: تبغا الليبل يروح يمين ويسار ولا يختفي ويظهر كل شوى ابي اليبل يجي من بعيد بعدين يقترب بعدين يروح زي سيرفر وناسة تايم 2 hours ago, #DesTroeyR said: قبل ما تحط اخوي المرة الجاية سوي <> مشان نفهم اكوادك علي العموم تفضل GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") GUIEditor.label[1] = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then guiSetVisible(GUIEditor.label[1], true) setTimer(function( localPlayer ) guiSetVisible(GUIEditor.label[1], false) end,5000,1,localPlayer) end end ) اسممع طيب ممكن كود اذا انفتحت اللوحة الليبل يروح ويجي يعني اليبل يروح ويرجع في اللوحة اذا ما اتعبتكــــ
Gladiator Posted May 24, 2018 Posted May 24, 2018 9 minutes ago, Mr-MohameD said: ابي اليبل يجي من بعيد بعدين يقترب بعدين يروح زي سيرفر وناسة تايم اخوي الفهمته منك اهو تفضل addEventHandler("onClientRender",getRootElement(),function() x,y = guiGetPosition(LabelName,false) -- LabelName = حط اسم الليبل حقك xN,xY = x + 1 , y if xN >= 300 then xN = 5 end guiSetPosition(LabelName,xN,xY,false) -- LabelName = حط اسم الليبل حقك end)
Gladiator Posted May 24, 2018 Posted May 24, 2018 15 minutes ago, Mr-MohameD said: طيب طيب اعطيني لي يروح ويجي دا ما فهمتو اخوي قلتلك اليروح يمين ويسار اهو addEventHandler("onClientRender",getRootElement(),function() x,y = guiGetPosition(LabelName,false) -- LabelName = حط اسم الليبل حقك xN,xY = x + 1 , y if xN >= 300 then xN = 5 end guiSetPosition(LabelName,xN,xY,false) -- LabelName = حط اسم الليبل حقك end)
Mr-MohameD Posted May 24, 2018 Author Posted May 24, 2018 اخي انا اقصد يختفي ويرجه ضيفو لدو الكودات يعني لما تفتح اللوحة يختفي ويرجع ولما اغلق اللوحة يروح ما يرجع GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(452, 321, 437, 352, "النافذةة || By Pro", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1EBEE0") guiSetVisible( GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(129, 167, 141, 51, "الزر", false, GUIEditor.window[1]) local font0_PetitFormalScript = guiCreateFont(":guieditor/fonts/PetitFormalScript.ttf", 0) guiSetFont(GUIEditor.button[1], font0_PetitFormalScript) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1EBEE0") GUIEditor.label[1] = guiCreateLabel(532, 569, 260, 27, "TessT system | By Pro & Ping | Beta versions", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 30, 190, 224) guiSetVisible( GUIEditor.label[1], false) end ) function OpenWin() 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("F6", "down", OpenWin) addEventHandler( "onClientGUIClick", root, function( ) if source == GUIEditor.button[1] then givePlayerMoney( 156789 ) end end )
+Source|> Posted May 25, 2018 Posted May 25, 2018 On ٢٤/٥/٢٠١٨ at 21:39, Mr-MohameD said: ردد وش المشكله ؟
MrKAREEM Posted May 26, 2018 Posted May 26, 2018 : لو تبي يختفي ويرجع يكون كدة setTimer(function () guiSetVisible(LabelName,not guiGetVisible(LabelName)) -- اسم اللابيل حقك LabelName حط مكان end,500, 0) -- تقدر تزود عن 500 بس لا تبالغ عن 1500 لان بيصير كثير
#Soking Posted May 26, 2018 Posted May 26, 2018 8 hours ago, MrKAREEM said: : لو تبي يختفي ويرجع يكون كدة setTimer(function () guiSetVisible(LabelName,not guiGetVisible(LabelName)) -- اسم اللابيل حقك LabelName حط مكان end,500, 0) -- تقدر تزود عن 500 بس لا تبالغ عن 1500 لان بيصير كثير هولي شيت هه غير زيرو لـ 2
MrKAREEM Posted May 26, 2018 Posted May 26, 2018 1 hour ago, #Soking said: هولي شيت هه غير زيرو لـ 2 ليه انا مستعملها كدة وشغالة لو فيها خطا قولي ممكن استفاد
Ram, Posted May 28, 2018 Posted May 28, 2018 On ٢٧/٥/٢٠١٨ at 02:14, MrKAREEM said: ليه انا مستعملها كدة وشغالة لو فيها خطا قولي ممكن استفاد صحيحه. الارقمنت الثالث لو تبيه يظل شغال , لازم تحط صفر .
MrKAREEM Posted May 29, 2018 Posted May 29, 2018 16 hours ago, AbU - W6N said: صحيحه. الارقمنت الثالث لو تبيه يظل شغال , لازم تحط صفر . تمام شكرا
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