Jump to content

baba

Members
  • Posts

    280
  • Joined

  • Last visited

Everything posted by baba

  1. يا حب ذي الوحه بعد ما ركبت عليها الكود بس المشكله اني لما اشغل المود الوحه ما تطلع GUIEditor = { button = {}, window = {}, staticimage = {}, memo = {}, TimeGuiSetRightC = { } } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 0, 674, 411, "مود شراء الشخصيات I بواسطة علاء I سكايب AlaaTailakh", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF000BFE") GUIEditor.button[1] = guiCreateButton(20, 295, 101, 47, "شراء بـ5000$", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFEE300") GUIEditor.button[2] = guiCreateButton(154, 295, 101, 47, "شراء بـ5000$", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFEE300") GUIEditor.button[3] = guiCreateButton(285, 296, 101, 46, "شراء بـ7500$", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFEE300") GUIEditor.button[4] = guiCreateButton(418, 295, 101, 46, "شراء بـ10000$", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFEE300") GUIEditor.button[5] = guiCreateButton(549, 294, 101, 46, "شراء بـ10000$", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFEE300") GUIEditor.button[6] = guiCreateButton(154, 351, 232, 46, "الـــغـــاء", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFE0000") GUIEditor.staticimage[1] = guiCreateStaticImage(10, 19, 121, 266, "Images/image2.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(144, 19, 121, 266, "Images/image10.png", false, GUIEditor.window[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(275, 19, 121, 266, "Images/image11.png", false, GUIEditor.window[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(408, 19, 121, 266, "Images/image12.png", false, GUIEditor.window[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(539, 19, 121, 265, "Images/image13.png", false, GUIEditor.window[1]) GUIEditor.memo[1] = guiCreateMemo(418, 350, 232, 46, "لن تحصل على شخصية عند قتلك ", false, GUIEditor.window[1]) end ) addEventHandler("onClientResourceStart", resourceRoot, function() guiSetVisible(GUIEditor.window[1],false) showCursor(false) end ) addEventHandler("onClientGUIClick",getRootElement(), function () if source == GUIEditor.button[6] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end ) bindKey("f2","down", function () if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) else guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) TimeGuiSetRightC = { } function guiMoveRightToCenter(GUIEditor.window[1]) if getElementData(gui,"HelhGui") == false then setElementData(gui,"HelhGui",true) local s1,s2=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (s1-w1)/2,(s2-w2)/2 guiSetPosition(gui,-x,y,false) TimeGuiSetRightC[gui] = setTimer(guiMoveRightToCenter,50,0,gui) end local a,b=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( gui, false) if (x1 >= x) then killTimer(TimeGuiSetRightC[gui]) setElementData(gui,"HelhGui",false) else guiSetPosition(gui,x1+10,y,false) end end
  2. ممكن توضحو لي يعني وين اسم الوحه الي انا ابيها تطلع من اليسار لحد توصل لي نص الشاشه وكذا
  3. يا سفاح لو تكتب الكود هون احسن على الاقل انت بتعرف الكود انا ما بعرفو مو لقيه ارجو المساعده
  4. طيب انا دورت وما لقيت اذا انت تعرف موجوع كذا حط الرابط
  5. سلام عليكم شباب انا عندي لوحه تفتح بي f2 صح اذا كبست ف2 تفتح الوحه على السريع بنص الشاشه؟ انا ابي الوحه تطلع لي من اليمين توضيح يعني الوحه حقت تسير تتحرك من اليسار لحد ما تسير بنص الشاشه بوضح اكثر اذا شخلت الوحه الوحه تطلع لي من اليسار الشاشه شويه شويه لحد ما تسير بنص الشاشه شي كذا ارجو التوضيح
  6. تفضل GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateStaticImage(150, 50, 674, 411, "Images/baba.png", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(100,0.1, 200, 0.5, "Shop - baba", true, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(20, 340, 101, 47, "5000$", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(154, 340, 101, 47, "5000$", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(285, 340, 101, 46, "7000$", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(418, 340, 101, 46, "10000$", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(549, 340, 101, 46, "10000$", false, GUIEditor.window[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(15, 60, 121, 266, "Images/image2.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(144, 60, 121, 266, "Images/image10.png", false, GUIEditor.window[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(275, 60, 121, 266, "Images/image11.png", false, GUIEditor.window[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(408, 60, 121, 266, "Images/image12.png", false, GUIEditor.window[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(538, 60, 121, 265, "Images/image13.png", false, GUIEditor.window[1]) end ) addEventHandler("onClientResourceStart", resourceRoot, function() guiSetVisible(GUIEditor.window[1],false) showCursor(false) end ) addEventHandler("onClientGUIClick",getRootElement(), function () if source == GUIEditor.button[6] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end ) bindKey("f2","down", function () if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) else guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) addEventHandler("onClientRender",getRootElement(), function() x,y = guiGetPosition(GUIEditor.label[1],false) xN,xY = x + 2 , y if xN >= 650 then xN = -200 labelname = GUIEditor.label[1] guiLabelSetColor(labelname ,math.random(255),math.random(255),math.random(255)) end guiSetPosition(labelname,xN,xY,false) end ) مشكور يا غالي مشكور مشكور مشكور يعطيك الف الف الف الف عافيه
  7. يا حب رح اتعبك معي بس ولله انو ذي المشكله مشكله كبيره راسي ولعت ضض المهم شف الكود الي بعته لك اخر شي؟ ابيك تزبط الكلام عليه لاني اخذت انا الكود ذا الي ارسلته وشغلته ونفس المشكله
  8. اسمع مو مهم الصوره عادي شيلها وركب الوحه الاصليه مو مهم اصوره انت جربها على الوحه العاديه عندك
  9. الصوره موجوده وكل شي وضيفها لي ميتها برسل لك لوحها غيرها GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateStaticImage(150, 50, 674, 411, "Images/baba.png", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(20, 340, 101, 47, "5000$", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(154, 340, 101, 47, "5000$", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(285, 340, 101, 46, "7000$", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(418, 340, 101, 46, "10000$", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(549, 340, 101, 46, "10000$", false, GUIEditor.window[1]) GUIEditor.staticimage[1] = guiCreateStaticImage(15, 60, 121, 266, "Images/image2.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(144, 60, 121, 266, "Images/image10.png", false, GUIEditor.window[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(275, 60, 121, 266, "Images/image11.png", false, GUIEditor.window[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(408, 60, 121, 266, "Images/image12.png", false, GUIEditor.window[1]) GUIEditor.staticimage[5] = guiCreateStaticImage(538, 60, 121, 265, "Images/image13.png", false, GUIEditor.window[1]) end ) addEventHandler("onClientResourceStart", resourceRoot, function() guiSetVisible(GUIEditor.window[1],false) showCursor(false) end ) addEventHandler("onClientGUIClick",getRootElement(), function () if source == GUIEditor.button[6] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end ) bindKey("f2","down", function () if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) else guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) GUIEditor.label[1] = guiCreateLabel(100,0.1, 200, 0.5, "Shop - baba", true, GUIEditor.window[1]) addEventHandler("onClientRender",getRootElement(), function() x,y = guiGetPosition(GUIEditor.label[1],false) xN,xY = x + 2 , y if xN >= 650 then xN = -200 labelname = GUIEditor.label[1] guiLabelSetColor(GUIEditor.label[1],math.random(255),math.random(255),math.random(255)) end guiSetPosition(GUIEditor.label[1],xN,xY,false) end ) يا حب ذا الكود كامل شف افتحه عندك وجرب
  10. من وين اجيب اسم الصوت؟
  11. الصراحه الصراحه الله يعطيك الف الف الف عافيه على مسعدتك الي بس ولله ثم ولله انو الكالم الي انا اكتبه يبقى يمشي مثل ما هو حتى لو كانت الوحه فاتحه او مسكره يريت تحل لي المشكله لو سمحت لان الكود ابيه ضروري لو سمحة عادي مو مهم الالوان لو فيه المشكله شف الصوره شف كلمت shop - baba بتلقيها على الشاشه
  12. شباب شكرن على الردكم لي بس اسمع عندي مشكله الكلام الي انا اكتبه يطلع ورا الوحه مو جو الوحه + اذا سكرت الوحه الكالم يوقف مكانه يعني يبقه في الشابه ويوقف انا بطرح الكود GUIEditor.window[1] = guiCreateStaticImage(150, 50, 674, 411, "Images/baba.png", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(100,0.1, 200, 0.5, "Shop - baba", true, GUIEditor.window[1]) addEventHandler("onClientRender",getRootElement(), function() x,y = guiGetPosition(GUIEditor.label[1],false) xN,xY = x + 2 , y if xN >= 650 then xN = -200 labelname = GUIEditor.label[1] guiLabelSetColor(GUIEditor.label[1],math.random(255),math.random(255),math.random(255)) end guiSetPosition(GUIEditor.label[1],xN,xY,false) end )
  13. وين مكان الي انا احدده عشان يخرج منه الكلام ؟ الكلام الي كاتبه يطلع من مكان انا احدده وشكرن
  14. وين احط اسم الوحه؟ + وين مكان الكلام الي اكتبه ؟
  15. ممكن لو سمحت تطرح لي الكود هون لاني اذا ابي اسويه مره ثانيه في لوحه غير تكون لي ما رح اعرف الي اذا رجعت لكم يريت تطرح الكود وتوضحه بعد اذنك
  16. اسمع خلي الكلام الي يمشي فوق بي الوحه خليه يتلون ما له لون محدد GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.27, 0.14, 0.44, 0.78, "Panel Shop", true) guiWindowSetSizable(GUIEditor.window[1], false ) guiSetVisible ( GUIEditor.window[1], false ) guiSetAlpha(GUIEditor.window[1], 0.78) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFA6C04") GUIEditor.staticimage[1] = guiCreateStaticImage(0.05, 0.06, 0.34, 0.17, "infernus.png", true, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(0.05, 0.25, 0.35, 0.08, "Infernus", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFA6C04") GUIEditor.staticimage[2] = guiCreateStaticImage(0.05, 0.38, 0.34, 0.17, "turismo.png", true, GUIEditor.window[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(0.04, 0.71, 0.34, 0.13, "sanchez.png", true, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(0.05, 0.57, 0.35, 0.08, "Turismo", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "sa-header") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFA6C04") GUIEditor.button[3] = guiCreateButton(0.05, 0.86, 0.35, 0.08, "Sanchez", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFA6C04") GUIEditor.label[1] = guiCreateLabel(0.05, 0.34, 0.34, 0.04, " $15000", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 47, 254, 0) GUIEditor.label[2] = guiCreateLabel(0.07, 0.66, 0.30, 0.04, " $10000", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 47, 254, 0) GUIEditor.label[3] = guiCreateLabel(0.06, 0.94, 0.30, 0.04, " $8000", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 47, 254, 0) GUIEditor.staticimage[4] = guiCreateStaticImage(0.63, 0.06, 0.34, 0.17, "m4.png", true, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(0.63, 0.25, 0.35, 0.08, "M4", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "sa-header") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFA6C04") GUIEditor.label[4] = guiCreateLabel(0.63, 0.35, 0.34, 0.04, " $1000", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 47, 254, 0) GUIEditor.staticimage[5] = guiCreateStaticImage(0.63, 0.40, 0.34, 0.17, "sniper.png", true, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(0.63, 0.57, 0.34, 0.08, "Sniper", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "sa-header") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFA6C04") GUIEditor.label[5] = guiCreateLabel(0.66, 0.66, 0.30, 0.04, " $500", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 47, 254, 0) GUIEditor.staticimage[6] = guiCreateStaticImage(0.63, 0.70, 0.34, 0.13, "tec-9.png", true, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(0.63, 0.86, 0.34, 0.08, "Tec-9", true, GUIEditor.window[1]) guiSetFont(GUIEditor.button[6], "sa-header") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFA6C04") GUIEditor.label[6] = guiCreateLabel(0.66, 0.94, 0.30, 0.04, " $800", true, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 47, 254, 0) end ) function Jose () guiSetVisible (GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor( not isCursorShowing() ) end bindKey ("M","down",Jose ) function panel() if source == GUIEditor.button[1] then triggerServerEvent( "fee" , getLocalPlayer() ) elseif source == GUIEditor.button[2] then triggerServerEvent( "fee1" , getLocalPlayer() ) elseif source == GUIEditor.button[3] then triggerServerEvent( "fee2" , getLocalPlayer() ) elseif source == GUIEditor.button[4] then triggerServerEvent( "fee3" , getLocalPlayer() ) elseif source == GUIEditor.button[5] then triggerServerEvent( "fee4" , getLocalPlayer() ) elseif source == GUIEditor.button[6] then triggerServerEvent( "fee5" , getLocalPlayer() ) end end addEventHandler("onClientGUIClick",root,panel )
  17. مشكور يا معاند بس يا اخي مو عارف اجيب الكود اطلخبط عقلي ممكن تسعدني لو سمحت
  18. لالا مشكور اشتغل يعطيكو الف عافيه
  19. سلام عليكم شباب انا رح ازعجكم شويه اسف بس ابي كود كلام انا اكتبه في الكود واركبو مع الوحه يسير يطلع من اليسار ويروح لليمين ويرجع نفس الشي ويكون يتلون يعني مو لون ابيض بس ابيه يسير كل شويه يعطي لون غير ارجو التوضيح لو سمحتو
  20. مشكور يا غالي بقدر اطلب كود او اعمل موضوع ثاني؟ لان كل شويه واحد يقلي حط كل طلباتك داخل موضوع واحد
  21. يا حب انا بطرح لك الكود مع الزر كيف خليتهم GUIEditor.button[6] = guiCreateButton(0.08, 0.70, 0.20, 0.15, "$50000", true, GUIEditor.window[1]) addEventHandler ("onClientGUIClick",root, function () if (source == GUIEditor.button[6]) then playSoundFrontEnd ( source, 46 ) end end ) يريت تزبطو
  22. شكرن على الرد بس انا بعرف انو في كود تركبو تحط بس السم الزر ما تحط انت صوت الكبسه فهمت لي؟ يعني انا احط اسم الزر وبس وهوا الكود يطلع صوت من عنده
  23. لول مشكور بس ما زبط
×
×
  • Create New...