Jump to content

DeLTon

Members
  • Posts

    30
  • Joined

  • Last visited

Details

  • Gang
    Google

DeLTon's Achievements

Rat

Rat (9/54)

0

Reputation

  1. الله يعطيك العافيه م قصرت مشكور الله يوفقك
  2. وش سويت انت اي كود اضفت ؟ لأن الموضوع حوسهه وضيفه لي دام عارفه ,
  3. السلام عليكم ورحمه الله وبركاته اخباركمم , المهم : - مود الترقيه فيه مشكلة , ان لما احد تكون عنده رتبه ويشتري رتبه تجيه الرتبه الثانيه و الاولى , والمشكلة ذي متعبتني بعدين لما يشتري رتبه ثالث م تجيهه هل فيه حركه او كود , لما يشتري رتبه جديده تنمسح القديمهه sevrer : xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",source,255,0,255,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",source,255,0,255,true); end local sValue = getElementData( source,'Level' ) if not sValue then sValue = '0' end local data = tonumber(string.sub(sValue, 6)) local hour = tonumber( data ) if hour == nil or not tonumber(hour) then hour = 0 end if not isObjectInACLGroup("user."..account, aclGetGroup(tostring("ExAdmin"))) then if ( hour >= tonumber(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,source,0,255,255,true); else outputChatBox("**ليس لديك لفلات كافية",source,255,0,0,true); end else outputChatBox("**لا يمكنك شراء رتبة لأنك مخالف",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) Client : ---------------------- -- Setting ---------------------- local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) local Admin = { {"[Rank]-","V.I.P","18"}, {"[Rank]-","PRO","120"}, {"[Rank]-","Level.1","260"}, {"[Rank]-","Level.2","390"}, {"[Rank]-","Killer","530"}, {"[Rank]-","xModerator","685"}, {"[Rank]-","ModeratorPlus","860"}, {"[Rank]-","xSuperModerator","1070"}, {"[Rank]-","SuperModeratorPlus","1385"}, {"[Rank]-","xAdmin","1880"}, {"[Rank]-","Head.Admin","3770"}, {"[Rank]-","Special.Admin","6485"}, {"[Rank]-","Vote-Manger","11650"}, {"[Rank]-","Manger.Server","22200"}, } ---------------------- -- Setting ---------------------- GUIEditor = { button = {} } GUIEditor.button[1] = guiCreateButton(295, 472, 178, 56, "", false) guiSetAlpha(GUIEditor.button[1], 0.00) GiveAdmin = guiCreateGridList(254, 157, 256, 302, false) guiGridListAddColumn(GiveAdmin, "Admins", 0.3) guiGridListAddColumn(GiveAdmin, "Group", 0.3) guiGridListAddColumn(GiveAdmin, "Level", 0.3) function buy() dxDrawLine(236 - 1, 101 - 1, 236 - 1, 538, tocolor(255, 0, 0, 0), 1, false) dxDrawLine(526, 101 - 1, 236 - 1, 101 - 1, tocolor(255, 0, 0, 0), 1, false) dxDrawLine(236 - 1, 538, 526, 538, tocolor(255, 0, 0, 0), 1, false) dxDrawLine(526, 538, 526, 101 - 1, tocolor(255, 0, 0, 0), 1, false) dxDrawRectangle(236, 101, 290, 437, tocolor(54, 151, 224, 224), false) dxDrawLine(235, 144, 526, 144, tocolor(54, 151, 224, 224), 1, false) dxDrawText("= [ Panel Rank ] =", 274, 107, 488, 134, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "bottom", false, false, false, false, false) dxDrawText("= [ Panel Rank ] =", 274, 107, 488, 134, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "bottom", false, false, false, false, false) dxDrawText("= [ Panel Rank ] =", 274, 107, 488, 134, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "bottom", false, false, false, false, false) dxDrawText("= [ Panel Rank ] =", 274, 107, 488, 134, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "bottom", false, false, false, false, false) dxDrawText("= [ Panel Rank ] =", 274, 107, 488, 134, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "bottom", false, false, false, false, false) dxDrawRectangle(285, 466, 198, 67, tocolor(54, 54, 54, 212), false) dxDrawText("~ ترقيه ~", 300, 465, 469, 523, tocolor(255, 255, 255, 255), 2.00, "default-bold", "center", "center", false, false, false, false, false) end removeEventHandler("onClientRender",root,buy) guiSetVisible ( GUIEditor.button[1], false ) guiSetVisible ( GiveAdmin, false ) ----------------------------------------------------------- function OpenWin() if removeEventHandler("onClientRender",root,buy)then removeEventHandler("onClientRender",root,buy) guiSetVisible ( GUIEditor.button[1], false ) guiSetVisible ( GiveAdmin, false ) showCursor(false) else addEventHandler("onClientRender",root,buy) guiSetVisible ( GUIEditor.button[1], true ) guiSetVisible ( GiveAdmin, true ) showCursor(true) end end bindKey ( "F1", "down", OpenWin ) for k,v in ipairs ( Admin ) do row = guiGridListAddRow(GiveAdmin); guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false); guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false); guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false); guiGridListSetItemColor(GiveAdmin,row,1,math.random(0,255),math.random(0,255),math.random(0,255)) guiGridListSetItemColor(GiveAdmin,row,2,math.random(0,255),math.random(0,255),math.random(0,255)) guiGridListSetItemColor(GiveAdmin,row,3,math.random(0,255),math.random(0,255),math.random(0,255)) end xMainFunctions_ = function ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin ) local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 )); local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 )); local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,Group,Price,Name); else outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true); end end addEventHandler("onClientGUIClick",GUIEditor.button[1],xMainFunctions_,false)
  4. الله يعطيك الف عافيهه مشكوور والله مرره , ضبط الله يسعدك
  5. السلام عليكم ورحمه الله وبركاته اخباركم ان شاء الله طبين المهم : - الموضوع واضحح من عنوانه هل يوجد كود او مود , يغلق جميع اغاني مابات الريسس الحين يجي واحد يقول , طيب يضغط زر m او z عشان تطفي الاغنيه لا انا ابغى حركه تطفي جميع الاغاني بكود
  6. سوي توب 3 نهاية الماب و أول ثلاثه لهـم فلوسسَ وموفق بالقيم مود , منتظره بأقرب وقـت !
  7. الله يعطيك العافيه بس ياليت لو تقولي , وش غيرت وطلبي الثاني , دورت على الموضوع بالصفحه 1 , 2 , 3 , 4 , 5 م لقيته
  8. function upgrade(player) if player then local hisNext = getElementData(player,"Next") local hisLevel = getElementData(player,"Level") if hisNext then setElementData(player,"Next",hisNext+NextPerx) ---------------------------------------------- textOut(player,"Up "..tostring(hisLevel).." !",10,255,255,0,255,0.38,0.88,4.2) outputChatBox("Congratulation's [ #FFFFFF"..getPlayerName(player).."#FF0000 ] You're up to #00FF00["..hisLevel.."] ",root,255,0,0,true) ---------------------------------------------- end end end
  9. اي ملف اطرح , سيرفر ولا كلنت ؟
  10. السلام عليكم ورحمه الله وبركاته اخبآأركم ان شاء الله بخير المهم : - عندي مود اللفل معروف , لكن ابغى تعدلون لي شيء بسيط لما واحد يقتل ويجيب لفل اب يجي بالشات انه جاب لفل جديد ابغى اخلي اللفل اب اللي يجيه بشاته هو م يجي للكل لأن يخرب الشات كل مره واحد جايب لفل اب والشات م تقدر تقرا الكلام منه من كثر اللفلات اللي تجي والطلب الثاني مود الرتب شغال تمام لكن لما واحد يكون عنده رتبه ويشتري الرتبه الجديده تكون عنده رتبتين انا ابغى الرتبه القديمه تنحذف من القروب وان شاء الله تفيدوني !
  11. انا ابغى مقاس الصوره تكون بالنص طارح لك اللوحه
  12. السلام عليكم ورحمه الله وبركاته المهمم ابغى مقاس صوره للوحه هذي يعني ماتكون قد اللوحه بالضبط , عشان اكتب كلام القوانين بها وفيها زرين زر تضغطه يحول الصوره الى عربي وزر الى انجليزي مسأله الصور ماعليكم منها , بس ابغى المقاس وزر تحويل الصوره local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) outputChatBox("لقراءة القوانين #FFFFFF[F10]#1589FF اضغط ",21, 137, 255,true) GUIEditor = { label = {} } GUIEditor.label[4] = guiCreateLabel(rx*322, ry*117, rx*178, ry*28, " ســيرفــر محـترفيـن الديـش مـاتـش", false) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 54, 151, 224, 224) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[4], "center") GUIEditor.label[5] = guiCreateLabel(rx*257, ry*155, rx*309, ry*22, "[1] اولاَ يرجوا احترام الادمنيه و الزوار", false) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[5], "center") GUIEditor.label[6] = guiCreateLabel(rx*257, ry*197, rx*309, ry*22, "[2] يمنع طلـبات الادمنـيه = ميوت 5 دقايق", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[6], "center") GUIEditor.label[7] = guiCreateLabel(rx*257, ry*242, rx*309, ry*22, "[3] يـمنـع طـلبات الـفلوس = ميوت 5 دقايق", false) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[7], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[7], "center") GUIEditor.label[8] = guiCreateLabel(rx*257, ry*283, rx*309, ry*22, "[4] يمـنع السـب والـشتم = ميوت على حسب السب", false) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[8], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[8], "center") GUIEditor.label[9] = guiCreateLabel(rx*257, ry*321, rx*309, ry*22, "[5] يـمنع استخـدام الهـاك بجميع أنواعـه = باند يوم ", false) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[9], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[9], "center") GUIEditor.label[23] = guiCreateLabel(rx*257, ry*359, rx*309, ry*22, "[6] يمنع تكرار الشراء من الشوب = سلاب , واذا كرر كيك", false) guiSetFont(GUIEditor.label[23], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[23], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[23], "center") GUIEditor.label[22] = guiCreateLabel(rx*257, ry*397, rx*309, ry*22, "[7] يمـنع التخريـب باللعـب = كيك", false) guiSetFont(GUIEditor.label[22], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[22], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[22], "center") GUIEditor.label[21] = guiCreateLabel(rx*257, ry*435, rx*309, ry*22, "[8]النـشر بـقصد = باند مؤبد , غير قصد = ميوت 5 دقايق", false) guiSetFont(GUIEditor.label[21], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[21], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[21], "center") guiSetVisible ( GUIEditor.label[4], false ) guiSetVisible ( GUIEditor.label[5], false ) guiSetVisible ( GUIEditor.label[6], false ) guiSetVisible ( GUIEditor.label[7], false ) guiSetVisible ( GUIEditor.label[8], false ) guiSetVisible ( GUIEditor.label[9], false ) guiSetVisible ( GUIEditor.label[23], false ) guiSetVisible ( GUIEditor.label[21], false ) guiSetVisible ( GUIEditor.label[22], false ) guiSetVisible ( GUIEditor.label[11], false ) function Lou() dxDrawLine(rx*155 - 1, ry*75 - 1, rx*155 - 1, ry*535, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*670, ry*75 - 1, rx*155 - 1, ry*75 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*155 - 1, ry*535, rx*670, ry*535, tocolor(54, 151, 224, 224), 1, false) dxDrawLine(rx*670, ry*535, rx*670, ry*75 - 1, tocolor(54, 151, 224, 224), 1, false) dxDrawRectangle(rx*155, ry*75, rx*515, ry*460, tocolor(0, 0, 0, 141), false) dxDrawLine(rx*154, ry*107, rx*670, ry*107, tocolor(54, 151, 224, 224), 1, false) dxDrawText(".::[ Panel Rules ]::.", rx*325 - 1, ry*75 - 1, rx*510 - 1, ry*103 - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText(".::[ Panel Rules ]::.", rx*325 + 1, ry*75 - 1, rx*510 + 1, ry*103 - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText(".::[ Panel Rules ]::.", rx*325 - 1, ry*75 + 1, rx*510 - 1, ry*103 + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText(".::[ Panel Rules ]::.", rx*325 + 1, ry*75 + 1, rx*510 + 1, ry*103 + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText(".::[ Panel Rules ]::.", rx*325, ry*75, rx*510, ry*103, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine(rx*154, ry*505, rx*670, ry*505, tocolor(54, 151, 224, 224), 1, false) end function OpenWin2() if removeEventHandler("onClientRender",root,Lou) then removeEventHandler("onClientRender",root,Lou) guiSetVisible ( GUIEditor.label[4], false ) guiSetVisible ( GUIEditor.label[5], false ) guiSetVisible ( GUIEditor.label[6], false ) guiSetVisible ( GUIEditor.label[7], false ) guiSetVisible ( GUIEditor.label[8], false ) guiSetVisible ( GUIEditor.label[9], false ) guiSetVisible ( GUIEditor.label[23], false ) guiSetVisible ( GUIEditor.label[22], false ) guiSetVisible ( GUIEditor.label[21], false ) guiSetVisible ( GUIEditor.label[11], false ) showCursor(false) else addEventHandler("onClientRender",root,Lou) guiSetVisible ( GUIEditor.label[4], true ) guiSetVisible ( GUIEditor.label[5], true ) guiSetVisible ( GUIEditor.label[6], true ) guiSetVisible ( GUIEditor.label[7], true ) guiSetVisible ( GUIEditor.label[8], true ) guiSetVisible ( GUIEditor.label[9], true ) guiSetVisible ( GUIEditor.label[23], true ) guiSetVisible ( GUIEditor.label[22], true ) guiSetVisible ( GUIEditor.label[21], true ) guiSetVisible ( GUIEditor.label[11], true ) showCursor(true) end end bindKey ( "F10", "down", OpenWin2 ) local x = 155 local xx = 440 -- function returnNumber() x = 155 end الطلب الثاني سهل : ابغى مود , جوست مود حملت حق العقرب م يشتغل مدري وش فيهه
  13. خلاص مشكورين , اغلقوا الموضوع
  14. ي شباب معقوله محد يعرف , ماشاءالله مبرمجين انتوا !
  15. طيب وانا كيف اسوي قروب المخالفين لأن اذا سويت قروب بيكون نفس القروبات العايديه وماراح يفرقق شيء
×
×
  • Create New...