Jump to content

nxFairlywell

Members
  • Posts

    1,849
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by nxFairlywell

  1. ^ ^ الرجال منتظر كود جاهز وانا متأكد انه بينتظر لين يوم القيامه محد معطيه جاهز ض1
  2. نو , ذي اداة مالها علاقه بالزر بس انت تضبطها واذا تبيها تكون زر حط لها ليبل
  3. دوك Client local FTH = "0" ----- ذا الزر 0 function Show () getVisible = guiGetVisible (wnd) if (getVisible == true) then guiSetVisible (wnd, false) showCursor (false) guiSetInputEnabled(false) end if (getVisible == false) then showCursor (true) setTimer(function() guiSetAlpha ( wnd, tonumber(0) ) guiSetVisible (wnd, true) end,100,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.1) ) end,200,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.2) ) end,300,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.3) ) end,400,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.4) ) end,500,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.5) ) end,600,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.6) ) end,700,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.7) ) end,800,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.8 )) end,900,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(0.9) ) end,1000,1,true) setTimer(function() guiSetAlpha ( wnd, tonumber(1) ) end,1000,1,true) end end bindKey(FTH,"down",Show) --------- FTH = قيمة انا محددها لفتح اللوحه
  4. addEventHandler("onClientRender", getRootElement(), drawText) function drawText() dxDrawRectangle(408, 347, 154, 41, tocolor(200, 212, 8, 83), true, wnd) dxDrawRectangle(572, 347, 154, 41, tocolor(233, 0, 0, 83), true, wnd) dxDrawLine(221, 15, 221, 541, tocolor(216, 0, 0, 254), 3, true, wnd) dxDrawLine(219, 540, 1365, 540, tocolor(216, 0, 0, 254), 3, true, wnd) removeEventHandler("onClientRender", getRootElement(), drawText) end تابل انا سويته كذا بس ماعاد تظهر
  5. كفو ^_^" تسلم ي تابل
  6. ي فيسبوك انا مسوي نفس الطريقة الي قلتها بس الـ dx لما اقفل اللوحه مايروح تبقى الازرار والخطوط حق الـ dx موجوده في الشاشه
  7. الكود اساساً لـ الأخ برستيج بس ولا تزعـل بـغير الكود
  8. الديبق مافيه اخطاء بس م كان يشتغل المود وعرفت ليه الكلنت صيغته ANSI حولتها إلى UTF-8 واشتغل بس المشكله إني م اقدر اختار رتبه يعني اضغط على ترقية او اختيار رتبه م كأني سويت شيء يعني ما كأنه فيه اكواد تعطي ادمنيه ++++++++++++++ اعتقد الخطأ هنا Client : General10 = function ( ) local row, col = guiGridListGetSelectedItem ( grd ) local grp = tostring ( guiGridListGetItemText(grd,row, 0, 1 )); local Sa3at = tostring ( guiGridListGetItemText(grd,row,4 )); local Esm = tostring ( guiGridListGetItemText(grd,row,2 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,grp,Sa3at,Esm); else outputChatBox("* Please Select Rank",255,0,0,true); end end addEventHandler("onClientGUIClick",btn,General10,false); __ Server : group_add = function ( grp,Sa3at,Esm ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" * You not register",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(grp))) then return outputChatBox("** You have this Rank ! ",source,255,0,0,true); end local sValue = getElementData( source,'PlayTime' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Sa3at)) then aclGroupAddObject (aclGetGroup( tostring(grp)),"user."..account); outputChatBox("** You Have Been Succesfully | "..Esm,source,0,255,0,true); else outputChatBox("**You not have hours",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,group_add)
  9. السسلآلآلآلآمم عليكم ورححَمة الله وبركاتهه اخباركم شباب وشعلومكم ,~# مالنا بالطويله ,.! الموضوع واضح من عنوانه ابي منكم شرح الـ tostring الي يعرف اي ششَيء لو شيء بسيط يحطه هنا لاهنتم لأني تفاجأت بـ ذي الكلمه في الويكي وماعرفت وش معناها بالضبط ووش فايدتها و لككم كل الشكر والتقدير
  10. مشكور ي ماكس بس ونا خوك ابيك تحدد لي الاخطاء الي في ملف السيرفر والكلنت إذا م عليك امر ---------------- --Settings ---------------- local Key = "F4" local Admin = { {"كنق الهجولة","KNG2","1"}, {"كنق النصب","KNG1","2"}, {"مراقب2","SuperModerator2","50"}, {"مـراقب","SuperModerator1","35"}, {"مـشـرف2","Moderator2","25"}, {"مـشـرف","Moderator1","10"}, {"شرطي","Police1","5"}, من السطر ذا .,< {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, {"شرطي","Police1","5"}, إلى ذا م عليك منه بعدلها سهله } ---------------- -- Rank Window ---------------- GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() w = guiCreateWindow(292, 151, 189, 381, "نظام شراء الرتب | Server Doran", false) guiWindowSetSizable(w, false) guiSetVisible ( w, false ) guiSetAlpha(w, 1.00) guiSetProperty(w, "CaptionColour", "FFEEBB0C") grd = guiCreateGridList(9, 25, 171, 262, false, w) guiGridListAddColumn(grd, "ألرتب", 0.5) guiGridListAddColumn(grd, "الساعات", 0.5) for k,v in ipairs ( Admin ) do row = guiGridListAddRow(grd) guiGridListSetItemText(grd, 0, 1, "كنق الهجولة", false, false) guiGridListSetItemText(grd, 0, 2, "- 1 [ H ]", false, false) guiGridListSetItemText(grd, 1, 1, "كنق النصب", false, false) guiGridListSetItemText(grd, 1, 2, "- 2 [ H ]", false, false) guiGridListSetItemText(grd, 2, 1, "مرشح شرطي", false, false) guiGridListSetItemColor(grd, 2, 1, 36, 141, 214, 255) guiGridListSetItemText(grd, 2, 2, "- 5 [ H ]", false, false) guiGridListSetItemText(grd, 3, 1, "شرطي 1", false, false) guiGridListSetItemColor(grd, 3, 1, 31, 26, 223, 255) guiGridListSetItemText(grd, 3, 2, "- 15 [ H ]", false, false) guiGridListSetItemText(grd, 4, 1, "شرطي 2", false, false) guiGridListSetItemColor(grd, 4, 1, 4, 0, 185, 255) guiGridListSetItemText(grd, 4, 2, "- 20 [ H ]", false, false) guiGridListSetItemText(grd, 5, 1, "مرشح لمشرف", false, false) guiGridListSetItemColor(grd, 5, 1, 38, 200, 206, 255) guiGridListSetItemText(grd, 5, 2, "- 30 [ H ]", false, false) guiGridListSetItemText(grd, 6, 1, "مشرف 1", false, false) guiGridListSetItemColor(grd, 6, 1, 3, 240, 237, 255) guiGridListSetItemText(grd, 6, 2, "- 40 [ H ]", false, false) guiGridListSetItemText(grd, 7, 1, "مشرف 2", false, false) guiGridListSetItemColor(grd, 7, 1, 2, 171, 169, 255) guiGridListSetItemText(grd, 7, 2, "- 50 [ H ]", false, false) guiGridListSetItemText(grd, 8, 1, "مراقب 1", false, false) guiGridListSetItemColor(grd, 8, 1, 36, 254, 13, 255) guiGridListSetItemText(grd, 8, 2, "- 60 [ H ]", false, false) guiGridListSetItemText(grd, 9, 1, "مراقب 2", false, false) guiGridListSetItemColor(grd, 9, 1, 18, 188, 0, 255) guiGridListSetItemText(grd, 9, 2, "- 70 [ H ]", false, false) guiGridListSetItemText(grd, 10, 1, "أدمـن 1", false, false) guiGridListSetItemColor(grd, 10, 1, 254, 33, 33, 255) guiGridListSetItemText(grd, 10, 2, "- 90 [ H ]", false, false) guiGridListSetItemText(grd, 11, 1, "أدمـن 2", false, false) guiGridListSetItemColor(grd, 11, 1, 190, 0, 0, 255) guiGridListSetItemText(grd, 11, 2, "- 110 [ H ]", false, false) guiGridListSetItemText(grd, 12, 1, "سوبر أدمــن", false, false) guiGridListSetItemColor(grd, 12, 1, 244, 207, 4, 255) guiGridListSetItemText(grd, 12, 2, "- 125 [ H ]", false, false) guiGridListSetItemText(grd, 13, 1, "سبشل أدمن", false, false) guiGridListSetItemColor(grd, 13, 1, 239, 95, 8, 255) guiGridListSetItemText(grd, 13, 2, "- 150 [ H ]", false, false) guiGridListSetItemText(grd, 14, 1, "أدمـن برو", false, false) guiGridListSetItemColor(grd, 14, 1, 7, 108, 186, 255) guiGridListSetItemText(grd, 14, 2, "- 200 [ H ]", false, false) GUIEditor.label[1] = guiCreateLabel(99, 360, 98, 17, "Mod By General10", false, w) guiSetFont(GUIEditor.label[1], "default-small") guiLabelSetColor(GUIEditor.label[1], 250, 84, 2) btn = guiCreateButton(31, 309, 128, 31, "* تـرقية -!", false, w) guiSetProperty(btn, "NormalTextColour", "FFF3E506") end end ) function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end بس ذي فيها اخطاء م ادري ايش هي بالضبط General10 = function ( ) local row, col = guiGridListGetSelectedItem ( grd ) local grp = tostring ( guiGridListGetItemText(grd,row, 0, 1 )); local Sa3at = tostring ( guiGridListGetItemText(grd,row,4 )) local Esm = tostring ( guiGridListGetItemText(grd,row,2 )) if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,grp,Sa3at,Esm) else outputChatBox("* Please Select Rank",255,0,0,true) end end addEventHandler("onClientGUIClick",btn,General10,false) -------------- -- Bind Key -------------- General = function () guiSetVisible(w,not guiGetVisible(w)) showCursor(guiGetVisible(w)) end bindKey(Key,"down",General) server ---- group_add = function ( grp,Sa3at,Esm ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" You not registre",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(grp))) then return outputChatBox("You have been this Rank ! ",source,255,0,0,true); end local sValue = getElementData( source,'PlayTime' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Sa3at)) then aclGroupAddObject (aclGetGroup( tostring(grp)),"user."..account); outputChatBox("You Rank Have been Succesfully | "..Name,source,0,255,0,true); else outputChatBox("You not have hours",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,group_add) قسم بالله يومين لاحس مخي المود ذا هو شغال بس لما اسوي اختيار مايجي اي شيء الديبق يقول حوله لصيغة يو تي اف 8 حولته وخلاص وخر الديبق جت مشكله ثانيه الي هي لما اختار الرتبه م يجي حسابي بالقروب
  11. السسلام عليكم ورحمة الله وبرككاته , ي شباب انا مسوي لوحة شراء رتب بـس بالساعات , وكل شيء تمام والقريد لست تمام , لكن فيه كود ناقصني الي هو إذا كانت ساعات اللاعب مثلا : 10 ساعات للشرطي , مايقدر ياخذ رتبه ساعاتها اكثر , < مثلا ادمن ساعاتها 90 , الي عنده الكود يرفسه لي & Thank's
  12. اهآء قول كذا من اول ض1 بالتوفيق حبيبي
  13. صاحب الموضوع ماوضح فكرة المود الي بيسويه المفروض تقول ليه تبيه لما يضربه مايقدر يمسكه هو من البدايه مايقدر يمسكه الا اذا كنت حاط مود سجن
  14. مــشكور يالذيب سويت نفس الطريقة وضبطت
  15. شكرا جزيلاً يَ أخ العرب :*
  16. السسسَلام عليكم ورحمة الله وبركاته ,# مسآء الخـير #جميعاً شبآب انا سويت مود ومافيه مشاكل بالاكواد والفنكشنات بس فيه مشكله صغيره تواجهني بـ كل مود اسويه وماعرفت احلها المشكله هي لما اشغل المود من اللوحه او من اف8 على طول تجي االلوحه انا ابيها تجي بالزر مابيها تشتغل لما اشغل المود الي عنده حل يتفضل واذا لزم احط الكود حق اللوحه والفنكشنات في الموضوع راح احطها والسسلام عليكم
  17. !!!!!! ما تعرفها لانك الكود ذا نسخ لصق ^ +111111111111111111
  18. يجيء والله ضبط كفو والله ي ماكس عاجز عن شكرك
  19. تسلم ي ذيب الحين باقي كود الاحداثيات بروح الويكي ادوره
  20. ي عيال ابي طريقة ربط row بـ زر لأني مسوي اكثر من رو يمكن 12 رو ذذ اسسف ازعجتكم بس بخلص المود اليوم ولاني عارف اكواد القريد لست
  21. Thank's <$: ^ بسس كيف استخدم الكود
  22. السسلام عليكم ورحمة الله وبركاته , رمضان كريم وكل عام وانتو بخير وصحة ي شباب انا سويت قريد ليست حق انتقالات بس ابي منكم طلب الي هو " الكود الي لما يحدد اللاعب المكان من القريد ليست ويضغط على زر يخليه ينتقل لـمكان انا احدده بالكود في القريد لست row يعني كود يوزع احداثيات لكل امم مثلا الدائري احداثياته كذا كذا بالكود , لما يحدده اللاعب وبعدين يضغط على زر مثلا " موافق " ينقله للدائري وكذا مع باقي الاماكن وانتو خبره م يحتاج اشرح الطلب الي عارف الكود لا يبـخل علينا , #والسسسلآم_عليكممء_ورحمة_الله_وبركاته
  23. ي شباب الرجال جاي يبيع سيرفره وهو تاعب عليه ونا شفت سيرفر وناسه تايم صصراحه ابداع وانتو لو عندكم مشاكل حطوها برا المواضيع انا اخش اقسام اللغة الانجليزية والله العظيم مافيه كلام خارج الموضوع الا احنا يالعرب هواش في هواش #رمضان_كريم
×
×
  • Create New...