Master_MTA

Members
  • Content Count

    3,341
  • Joined

  • Last visited

  • Days Won

    53

Master_MTA last won the day on June 5

Master_MTA had the most liked content!

Community Reputation

1,043 MTA Ambassador

About Master_MTA

  • Rank
    Hoo-Rider
  • Birthday 13/05/1999

Details

  • Gang
    Masters
  • Location
    Egypt

Recent Profile Visitors

8,336 profile views
  1. the title bar + sorry i was mean dgsGetSize + dgsGetSize+dgsGetPosition -> both of them in oop return 1 value only which's x for pos and w forsize ele:getSize()->w only ele:getPosition()->x only
  2. problem with this getPosition = dgsOOP.genOOPFnc("dgsGetPosition"), --oop another mistake when am trying to local pax,pay = pa.position.x , pa.position.y the pax is cool but pay is need to increase 25 to it to get real size i suggest to add parameters to dgsGetPosition To get The real height
  3. function pairsByKeys (t,neg) local neg = neg or false local a = {} local s = {} for n in pairs(t) do table.insert(a,(neg and string.lower(n) ) or n) if (neg and string.sub(n,1,1) == string.upper(string.sub(n,1,1)) ) then s[string.lower(n)]=n end end table.sort(a) local i = 0 local iter = function () i = i + 1 if a[i] == nil then return nil else if (neg and s[a[i]] ) then return s[a[i]],t[s[a[i]]] else return a[i], t[a[i]] end end end return iter end example: local ta={ ['F']='hi', ['g'] = 'hello', ['a'] = 'yes', ['b'] = 'no', } --usage num 1 for k,v in pairsByKeys (t) do print(k,v) --[[ output F - hi a - yes b - no g - hello ]]-- end --usage num 2 neglecting letter case for k,v in pairsByKeys (t,true) do print(k,v) --[[ output a - yes b - no F - hi g - hello ]]-- end
  4. first thx for your help second i know that already but am telling him to update it in the GitHub project so when am trying to update the dgs after that there is no need to edit it every time i update it that's why am spamming here cuze my project totally depending on the dgs lib +_+ ah by the way my solution was like that function dgsGetVisible(dgsEle) assert(dgsIsDxElement(dgsEle),"Bad argument @dgsGetVisible at argument 1, expect a dgs-dxgui element got "..dgsGetType(dgsEle)) if dgsElementData[dgsEle].visible then local p = FatherTable[dgsEle] for i=1,5000 do if not p then break end if not dgsElementData[p].visible then return false end p = FatherTable[p] end return true end return false end he just forgot not word on this line if p then break end -- so i edit it to be if not p then break end
  5. thx works there is a problem with visible part function dgsGetVisible(dgsEle) assert(dgsIsDxElement(dgsEle),"Bad argument @dgsGetVisible at argument 1, expect a dgs-dxgui element got "..dgsGetType(dgsEle)) if dgsElementData[dgsEle].visible then local p = FatherTable[dgsEle] for i=1,5000 do if p then break end if not dgsElementData[p].visible then return false end p = FatherTable[p] end return true end return false end debug : attemp to index field ? a nil value line 260 functions.Lua
  6. oh also i tried to access to it with another way print(toJSON(element.getProperties(element))) same thing empty table + there is a problem with setting only not getting position or size by this way element.position.x = 10 --not working
  7. there is a problem with the properties in oop you can't use element:getProperties()
  8. +_+ في افكار عندي بس خلني اكتفي بذا القدر عشان ما افتح عليك ستافه كبيره عالعموم شغل جيد بالتوفيق
  9. واصل بالتوفيق اضافه بسيطه شغلك جيد لكن الfront end يختاج تعديلات بسيطه مثلا الكارد ديزان بالنسبه للباك اند فانصحك تستخدم paypal api غشان تخليه اوتوماتيك مب يدوي بحيث اللاعب يتبرع علطول خلاص يجيه بالحساب باللعبه او ايا كان الاكشن اللي بتاخذه
  10. ابي احد يفسر احلام 😂😂
  11. الفكره ان ذا anti cheat detection من الميتا تقدر تشيله نهائيا يعني تخليه فاظي او تفعل انواع ممعينه
  12. bindKey ("tab","both",function () guiSetVisible(window,not guiGetVisible(window) ) showCursor(guiGetVisible(window)) end)
  13. ur welcome friend happy to help u