Jump to content

[iMr]-W[i]Fi,.!

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by [iMr]-W[i]Fi,.!

  1. ليش تحلف شفيك
  2. شوف انا سويت كود وكل شيء بعد الترجمه الطويله طبعاً لاكن المود مو شغال مدري ليش شسوفو الوظيفه Client -- addCommandHandler('رتب',function() guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) function black() for k, v in ipairs ( List ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 2, v[2], false, false) guiGridListSetItemData(GUIEditor.gridlist[1], row, 1, v[3]) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 255, 159, 0) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 2, 146, 0, 255) end end setTimer (black, 3000, 1) addEventHandler("onClientGUIClick", GUIEditor.button[1], function() if isTimer(timer) then mSeconds,_,__ = getTimerDetails(timer) total = mSeconds / 60 / 1000 outputChatBox("You need to wait "..math.ceil(total).." minutes",255, 159, 0) return end timer = setTimer(function() end,5 * 1000 * 60,1) local row, col = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if row and col and row ~= -1 and col ~= -1 then local data = guiGridListGetItemData(GUIEditor.gridlist[1], row, 1) local time = guiGridListGetItemText(GUIEditor.gridlist[1], row, 2) triggerServerEvent('GiveAdmin',localPlayer,data,time) -- ,و هنا ربطت بالسيرفر end Server -- xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); -- واخيراً عرفت ليش لازم كذا بعد الترجمه لازم يجيب الحساب عشان يضعه فيObject if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" يجب عليك التسجيل اولاَ ",source,0,171,233,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox(" لديك هذهـ الرتبة فعـلاً ",source,255,153,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(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox(" تم اضافة الرتبة بنجاح "..Name,source,0,171,233,true); else outputChatBox(" ليس لديك ساعات كافية ",source,255,153,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) حلولي الخطأ الموجود
  3. طيب ممكن امثله ~؟
  4. في اكواد ابي امثله منها ما فهمتها getElementData aclGetGroup aclGroupAddObject aclGroupRemoveObject شكلكم ما فهمتموني انا ابي اسوي مود شوب ادمن بالساعات يعني يشتري رتبه محدده بالساعات الي انا حطيتهها
  5. getAccountName -- جلب اسم حساب getPlayerAccount -- جلب حساب لاعب اعرف بس انا اقصد وش بنستعمله في المود ؟
  6. ليش بنحتاج هالكودين 1.getAccountName 2.getPlayerAccount
  7. ليش عصبت علي كمان انا مني طالب كود وضع صوره بس اسأل كيف اضع صوره ولا ما اقدر
  8. ممكن طلب ثاني ؟ كيف اضع صوره مثل الاخ # AtHwaQ ومشكورين وطلب واحد اخير ممكن امثله افهمها للي عطيتوني اياه ~ مو امثله من الويكي مترجمه لا امثله من عندك لو سمحت
  9. ماتعرف تشغله ؟ اجل انت تبي جاهز وتمشي ؟ لا معليش مانقدر https://wiki.multitheftauto.com/index.php?title=AR/Main_Page : تعلم من هنا ليش ما اقدر طيب عطيني اسم كود يساعدني عشان اشغل DX
  10. انا مبتدئ في ال == DX == ابي اخليه بزر كيف ؟ بالله اي احد يشرحلي يعني قلت مبتدئ في ال ==DX== اما بالعادي يعني ماابي اتباهى متوسط ,, معليكم بعد ما تشرحولي كيف اخليه بزر ابيكم تشرحولي كيف اشغله بسيرفر
  11. خلاص ساعدوني ~
  12. مشكور اخويي
  13. مني عارف وين احط ردي لكن عايز مساعدة كيف اسوي موضوع جديد في مشكله ابي اعرضها في الموضوع الجديد ولا مسموح لي اعرض المشكله هنا
×
×
  • Create New...