Jump to content

Mr.Ronaldo

Members
  • Posts

    351
  • Joined

  • Last visited

Everything posted by Mr.Ronaldo

  1. شباب انا صنعت لوحة قوانين ولسا بكملها بس المشكله ان لو شغلت المود اللوحه تظهر بدون ما اضغط على الزر وبتختفي عادي لو اضغط على الزر وتشتغل تمام لكن ابي اعرف من وين المشكله وليش لو افتح المود تظهر بدون ما اضغط على الزر ذا هو المود بس مب كامل GUIEditor = { tab = {}, window = {}, tabpanel = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(144, 79, 808, 642, "[Gta-SF]Help Panel | [Gta-SF] لوحه المساعدات", false) guiSetVisible(GUIEditor.window[1],false) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(643, 19, 155, 20, "Edited By : Mr.TrOn", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 224, 0, 0) GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 19, 789, 613, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("معلومات عن السيرفر", GUIEditor.tabpanel[1]) GUIEditor.label[2] = guiCreateLabel(291, 4, 255, 20, "[.. معلومات عن السيرفر ..]", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 205, 217, 6) GUIEditor.label[3] = guiCreateLabel(325, 29, 113, 17, "1- من نحن", false, GUIEditor.tab[1]) guiLabelSetColor(GUIEditor.label[3], 21, 6, 216) GUIEditor.label[4] = guiCreateLabel(79, 56, 783, 28, "سيرفر [Gta-SF] هوا سيرفر حرب عصابات للمتعه والحرب وهوا منافس للسيرفرات الاخري ولذلك هوا سيرفر مميز", false, GUIEditor.tab[1]) GUIEditor.label[5] = guiCreateLabel(325, 101, 783, 28, "مبرمجين السيرفر :", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 38, 205, 16) GUIEditor.label[7] = guiCreateLabel(235, 182, 735, 15, "---------------------------------------------------------------------", false, GUIEditor.tab[1]) GUIEditor.label[8] = guiCreateLabel(315, 201, 272, 29, "2- قوانين السيرفر", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 20, 200, 185) GUIEditor.label[9] = guiCreateLabel(292, 225, 561, 46, "1- ممنوع السب والشتم", false, GUIEditor.tab[1]) GUIEditor.label[10] = guiCreateLabel(292, 276, 164, 15, "3- احترام الادمنيات", false, GUIEditor.tab[1]) GUIEditor.label[11] = guiCreateLabel(305, 247, 144, 19, "2- عدم الغش", false, GUIEditor.tab[1]) GUIEditor.label[12] = guiCreateLabel(232, 301, 234, 15, "4- يمنع التبليغ عن الخربين (في الشات العام )", false, GUIEditor.tab[1]) GUIEditor.label[13] = guiCreateLabel(255, 326, 235, 15, "5- يمنع الاستهبال في Report", false, GUIEditor.tab[1]) GUIEditor.label[14] = guiCreateLabel(255, 352, 225, 15, "6- يمنع تكرير الاختصارات في الشات", false, GUIEditor.tab[1]) GUIEditor.label[15] = guiCreateLabel(255, 377, 232, 15, "7- يمنع التعزيز او الفزعه في الشات", false, GUIEditor.tab[1]) end ) function toggleVisible() if (guiGetVisible(GUIEditor.window[1]) == false) then guiSetVisible(GUIEditor.window[1],true) showCursor(true) else guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end bindKey("F9",down,toggleVisible)
  2. مشكور بجرب ناو جربت الحل وما نفع للاسف ذا ملف الكلينت كامل والى تحصل منه المشكله ياريت اي واحد يشوفلي حل ضروري local sx, sy = guiGetScreenSize() function drawExperience() ronaldo = guiCreateProgressBar(42, 742, 279, 16, false) local experience = getElementData(localPlayer,"experience") or 0 local experience_r = getElementData(localPlayer,"experience_r") or 0 local level = getElementData(localPlayer,"level") or 1 local percent = (experience / experience_r * 100) if (percent >= 100) then percent = 0 elseif (experience_r < 1) then percent = 0 end dxDrawText("Level: ".. tostring(level) .." [ Exp Points ] : ".. tostring(experience) .." / ".. tostring(experience_r), 57, 743, 320, 756, tocolor(255, 44, 0, 200), 1.00, "default-bold", "left", "top", false, true, true, true, false) guiProgressBarSetProgress(ronaldo, tonumber(percent) or 0) end addEventHandler("onClientRender",root,drawExperience) addEvent ( "LevelUpEffect", true ) addEventHandler ( "LevelUpEffect", root, function ( ) PlayerLevelUpSound() addEventHandler("onClientRender",root,DrawLevelUp) setTimer(function() removeEventHandler("onClientRender",root,DrawLevelUp) end, 4000, 1) end ) function PlayerLevelUpSound() local sound = playSound("levelup.mp3") setSoundVolume(sound, 1) end -- ربنا موجود -- function DrawLevelUp() dxDrawBorderedText( "LEVEL UP!!!", sx/2, sy/15, sx/2, sx/2, tocolor(255,144,0,255),(sx/1024)*2.5,"pricedown","center","center",false,false,false ) end
  3. local sx, sy = guiGetScreenSize() function drawExperience() ronaldo = guiCreateProgressBar(42, 742, 279, 16, false) local experience = getElementData(localPlayer,"experience") or 0 local experience_r = getElementData(localPlayer,"experience_r") or 0 local level = getElementData(localPlayer,"level") or 1 local percent = (experience / experience_r * 100) if (percent >= 100) then percent = 0 elseif (experience_r < 1) then percent = 0 end dxDrawText("Level: ".. tostring(level) .." [ Exp Points ] : ".. tostring(experience) .." / ".. tostring(experience_r), 57, 743, 320, 756, tocolor(255, 44, 0, 200), 1.00, "default-bold", "left", "top", false, true, true, true, false) guiProgressBarSetProgress(ronaldo, tonumber(percent) or 0) end addEventHandler("onClientRender",root,drawExperience)
  4. لو سمحت شباب اسف علي الطلبات الكتيره عندي مشكله في مود اللفلات انا حاطت بيه SetProgress ولكن المشكله انه يجيب لاق لما احطو ولو مسحتو يشتغل عادي ذا هو الكود guiProgressBarSetProgress(ronaldo, tonumber(percent) or 0)
  5. مو فاهمني انا اقصد يعني لو اخترت شخصيه ارمي من لوحة الادمنيه كمثال انتقل لتيم البوليس بعدها على طول
  6. طلب كود الانضمام الى تيم معين اذا اخترت شخصيه معينه
  7. اخي يعني انت ما تعرف مود scoreboard
  8. السلام عليكم ورحمة الله وبركاته لو سمحت شباب ابي مود تاب (ScoreBoard) للزومبي ضروري الى معه لا يبخل
×
×
  • Create New...