Dr.Xen Posted February 1, 2014 Share Posted February 1, 2014 ...السلام عليكم ورحمة الله وبركاته! ابي تعديل على القريد ليست ! انا حطيت مكان علشان تكتب بس ابي يكون فيها كتابة ولو ضغطت على المكان علشان تعدل الكتابة تختفي وبعدين يحط العدد مثلا حط 200 وضغط شراء تطلع كلام بالشات كلأم ( وكل بعد 30 ثانية تزود دم 20 وانا حطيت زر فيها لوحة ثانية ابي لمن يضغط الزر من اللوحة تفتح له اللوحة + وفي زر اسمه خروج لمن يضغط يقفل اللوحة+ GUIEditor = { staticimage = {}, edit = {}, button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(295, 207, 253, 224, "شراء مخدرات/وضيفة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF128509") GUIEditor.button[1] = guiCreateButton(9, 194, 73, 20, "Taking Task", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF128509") GUIEditor.button[2] = guiCreateButton(170, 194, 73, 20, "Exit", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF8A5503") GUIEditor.edit[1] = guiCreateEdit(10, 75, 233, 24, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(94, 53, 72, 16, "عدد المخدرات", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 18, 133, 9) GUIEditor.button[3] = guiCreateButton(90, 109, 73, 20, "Buy", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF8F0000") GUIEditor.staticimage[1] = guiCreateStaticImage(82, 149, 88, 65, ":guieditor1/images/examples/mtalogo.png", false, GUIEditor.window[1]) end ) Link to comment
Mr.T9 Posted February 1, 2014 Share Posted February 1, 2014 اي قريد ليست انت مو ضايف اي قريد ليست بـ اكوادك Link to comment
Do_De<3 Posted February 1, 2014 Share Posted February 1, 2014 اي قريد ليست انت مو ضايف اي قريد ليست بـ اكوادك وانت صادق : ) بنسبةة لصآحب الموضوع وضحح شوي مافهمت : / Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 اخوي اانا ابي كود يفتح لك لوحة عند لمس الماركر وداخل القريد في زر اول ما تضغط تطلع لك لو حة ثانية + وعند ضغط شراء كل بعد 30 ثانية تزيد الدم نسبة 5 هذي كلها ليتم معين ^ Link to comment
The Killer Posted February 2, 2014 Share Posted February 2, 2014 لا سويت القريد لست تعال كمل طلبك -,- Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 يخي توي سويت لوحة جديدة ! Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 GUIEditor = { window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(295, 207, 253, 224, "شراء مخدرات/وضيفة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF128509") Taking = guiCreateButton(9, 194, 73, 20, "Taking Task", false, GUIEditor.window[1]) guiSetProperty(Taking, "NormalTextColour", "FF128509") Exit = guiCreateButton(170, 194, 73, 20, "Exit", false, GUIEditor.window[1]) guiSetProperty(Exit, "NormalTextColour", "FF8A5503") Edit = guiCreateEdit(10, 75, 233, 24, "اكتب عدد المخدرات اقصى حد500..", false, GUIEditor.window[1]) guiSetAlpha(Edit, 0.63) guiSetProperty(Edit, "NormalTextColour", "FF0606F8") GUIEditor.label[1] = guiCreateLabel(48, 55, 170, 16, "عدد المخدرات \"الواحد بــ100$\"", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 18, 133, 9) Buy = guiCreateButton(90, 109, 73, 20, "Buy", false, GUIEditor.window[1]) guiSetProperty(Buy, "NormalTextColour", "FF8F0000") GUIEditor.staticimage[1] = guiCreateStaticImage(82, 149, 88, 65, ":guieditor1/images/examples/mtalogo.png", false, GUIEditor.window[1]) end ) Link to comment
Mr.T9 Posted February 2, 2014 Share Posted February 2, 2014 GUIEditor = { window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(295, 207, 253, 224, "شراء مخدرات/وضيفة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF128509") Taking = guiCreateButton(9, 194, 73, 20, "Taking Task", false, GUIEditor.window[1]) guiSetProperty(Taking, "NormalTextColour", "FF128509") Exit = guiCreateButton(170, 194, 73, 20, "Exit", false, GUIEditor.window[1]) guiSetProperty(Exit, "NormalTextColour", "FF8A5503") Edit = guiCreateEdit(10, 75, 233, 24, "اكتب عدد المخدرات اقصى حد500..", false, GUIEditor.window[1]) guiSetAlpha(Edit, 0.63) guiSetProperty(Edit, "NormalTextColour", "FF0606F8") GUIEditor.label[1] = guiCreateLabel(48, 55, 170, 16, "عدد المخدرات \"الواحد بــ100$\"", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 18, 133, 9) Buy = guiCreateButton(90, 109, 73, 20, "Buy", false, GUIEditor.window[1]) guiSetProperty(Buy, "NormalTextColour", "FF8F0000") GUIEditor.staticimage[1] = guiCreateStaticImage(82, 149, 88, 65, ":guieditor1/images/examples/mtalogo.png", false, GUIEditor.window[1]) end ) مافيه اي قريد ليست Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 انا سويت لوحة فيها اززرار ،، ممكن تعطيني كود الي تخلي اللوحة تفتح لو لمست الماركر وهو من التيم ! وفيها زر لو ضغطته تفتح لك ثانية الأول تقفل والثانية تفتح واذا ضغط زر تقفل الأثنين Link to comment
Mr.T9 Posted February 2, 2014 Share Posted February 2, 2014 انا سويت لوحة فيها اززرار ،، ممكن تعطيني كود الي تخلي اللوحة تفتح لو لمست الماركر وهو من التيم !وفيها زر لو ضغطته تفتح لك ثانية الأول تقفل والثانية تفتح واذا ضغط زر تقفل الأثنين تفضل getPlayerTeam getTeamName guiSetVisible "onMarkerHit" "onClientGUIClick" Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 ما اعرف اسويهم ممكنن تسويهم وكذا اي واحد ضغط زر يسحب منه فلوس وبعد كل 30 ثانية يزيد دمه 5 Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 (edited) هذا اذا لمست ماركر يفتح اللوحة addEventHandler ("onClientMarkerHit", اسم الماركر, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "اسم التيم" then guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) end end ) هذا اذا ضربت على زر يفتح لوحة جديدة addEventHandler ("onClientGUIClick", root, function ( ) local mm = getPlayerTeam ( localPlayer ) if source == "اسم الزر الا تبغيه يفتح لوحة" and mm and getTeamName ( mm ) == "اسم التيم" then guiSetVisible ( اسم اللوحة, true ) guiSetVisible ( اسم اللوحة الا تبغيها تختفي, false ) end end ) Edited February 2, 2014 by Guest Link to comment
ksaksa Posted February 2, 2014 Share Posted February 2, 2014 هذا اذا لمست ماركر يفتح اللوحة addEventHandler ("onClientMarkerHit", اسم الماركر, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "اسم التيم" then guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) end end ) حط له زر عشان يغلقها guiSetVisible(false) Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 هذا اذا لمست ماركر يفتح اللوحة addEventHandler ("onClientMarkerHit", اسم الماركر, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "اسم التيم" then guiSetVisible ( اسم اللوحة, not guiGetVisible ( اسم اللوحة ) ) end end ) حط له زر عشان يغلقها guiSetVisible(false) تبغي اذا ضرب زر يغلق اللوحة ؟؟ Link to comment
ksaksa Posted February 2, 2014 Share Posted February 2, 2014 arabian scripters are the best Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 يب يعني خروج اكيد تعرف واحد قالي سهله بس ما اعرف اذا ضغط زر خروج على طول يتقفل ! + وفي زر شراء اول ما تضغطها تسحب منك الفلوس وكل بعد 30 ثانية تزيد دم 4 يعني اول ما يشتري ودمه ناقض يزود يزود لين يصير فل ويتوقف العدد Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 addEventHandler ("onClientGUIClick", root, function () if source == "اسم الزر" then guiSetVisible ( اسم اللوحة, false ) end end ) Link to comment
al-Kobra Posted February 2, 2014 Share Posted February 2, 2014 addEventHandler("onClientResourceStart", root, function () local mm = getElementHealth ( localPlayer ) setTimer ( setElementHealth, 10000, 0, localPlayer, mm + 20 ) end ) جرب هذا Link to comment
Dr.Xen Posted February 2, 2014 Author Share Posted February 2, 2014 مممكن تشف لي الكود صح ام لأ..واذا خطا عدله لأهنت GUIEditor = { window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(295, 207, 253, 224, "شراء مخدرات/وضيفة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF128509") Taking = guiCreateButton(9, 194, 73, 20, "Taking Task", false, GUIEditor.window[1]) guiSetProperty(Taking, "NormalTextColour", "FF128509") Exit = guiCreateButton(170, 194, 73, 20, "Exit", false, GUIEditor.window[1]) guiSetProperty(Exit, "NormalTextColour", "FF8A5503") Edit = guiCreateEdit(10, 75, 233, 24, "اكتب عدد المخدرات اقصى حد500..", false, GUIEditor.window[1]) guiSetAlpha(Edit, 0.63) guiSetProperty(Edit, "NormalTextColour", "FF0606F8") GUIEditor.label[1] = guiCreateLabel(48, 55, 170, 16, "عدد المخدرات \"الواحد بــ100$\"", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 18, 133, 9) Buy = guiCreateButton(90, 109, 73, 20, "Buy", false, GUIEditor.window[1]) guiSetProperty(Buy, "NormalTextColour", "FF8F0000") GUIEditor.staticimage[1] = guiCreateStaticImage(82, 149, 88, 65, "name.png", false, GUIEditor.window[1]) end ) GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[7] = guiCreateWindow(284, 168, 282, 70, "Task Drugs", false) guiWindowSetSizable(GUIEditor.window[7], false) guiSetAlpha(GUIEditor.window[7], 0.86) guiSetProperty(GUIEditor.window[7], "CaptionColour", "FF890A03") GUIEditor.button[7] = guiCreateButton(10, 30, 86, 23, "100=500$", false, GUIEditor.window[7]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FF036F8A") GUIEditor.button[2] = guiCreateButton(96, 30, 86, 23, "300=1745$", false, GUIEditor.window[7]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF036F8A") GUIEditor.button[3] = guiCreateButton(182, 30, 86, 23, "500=3000$", false, GUIEditor.window[7]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF036F8A") end ) local eB3 = createMarker(1276.36426,-1629.24292,27,"cylinder",1.5,105,105,255,255) addEventHandler ("onClientMarkerHit", eB3, function ( hitPlayer ) local mm = getPlayerTeam ( hitPlayer ) if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "No Team" then guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) end end ) addEventHandler ("onClientGUIClick", root, function ( ) local mm = getPlayerTeam ( localPlayer ) if source == "Taking" and mm and getTeamName ( mm ) == "No Team" then guiSetVisible ( GUIEditor.window[7], true ) guiSetVisible ( GUIEditor.button[2], false ) end end ) Link to comment
-MF[7]6 Posted February 4, 2014 Share Posted February 4, 2014 للتوضيح عيال شوفو الصورهـ $ Link to comment
The Killer Posted February 4, 2014 Share Posted February 4, 2014 خخ الحين وضحت يعني , Link to comment
#Rmad~> Posted February 4, 2014 Share Posted February 4, 2014 يابياع المخدرات يالي بتنشر الفساد وبتخلي الشباب يتكمخ و.... 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