Jump to content

iwalidza

Members
  • Posts

    155
  • Joined

Everything posted by iwalidza

  1. ما اضن هتضبط علا جهاو متوسط i5 4 ram intel HD
  2. للمكتبة الخاصة فيني؟ Parents and children ايش افضل طريقة عشان اسوي نضام
  3. What the best way to make Parents and children system for my dx lib?
  4. اضن 0 مو 1 من المستحسن تستغمل onClientRender عشان يكون سلس
  5. This is so annoying as pixles, I didn't know how to take yours and didn't know how to make one
  6. i am try to take a shader but XD i cant say that
  7. i have good code its will give you good think function DrawRoundedRectangle(x, y, rx, ry, color, radius) rx = rx - radius * 2 ry = ry - radius * 2 x = x + radius y = y + radius if (rx >= 0) and (ry >= 0) then dxDrawRectangle(x, y, rx, ry, color) -- bar dxDrawRectangle(x, y - radius, rx, radius, color) dxDrawRectangle(x, y + ry, rx, radius, color) dxDrawRectangle(x - radius, y, radius, ry, color) dxDrawRectangle(x + rx, y, radius, ry, color) dxDrawCircle(x, y, radius, 180, 270, color, color, 7) dxDrawCircle(x + rx, y, radius, 270, 360, color, color, 7) dxDrawCircle(x + rx, y + ry, radius, 0, 90, color, color, 7) dxDrawCircle(x, y + ry, radius, 90, 180, color, color, 7) end end
  8. addEventHandler("onClientResourceStart",root,function() -- run when the resource start if getPedMoveState(localPlayer) == "powerwalk" then -- get player move state if the state "power walk" then go to other line setPedControlState(localPlayer,"walk", true) -- set player new move state end end)
  9. الي يعرف فكرة المود يقلي بسويه و بنشر امه غصب عن الي يبي و الي مايبي
  10. اضن انو رتبة SERVERFOUNDER مشمضافة في كل الاماكن ذه الي اقدر اقلك عليه
  11. من الافضل ان تشرح له المشكلة و اين هي و طريقة حلها مش تعطيه اياها جاهزة عشان يتعلم يحل مشاكله بنفسه
  12. first : move the topic to https://forum.multitheftauto.com/forum/96-arabic-العربية/ tow : we not help with leak scripts
  13. if you have admin panel you can use that is best idea exports.admin:getPlayerCountry(source)
  14. iam just try to make dxLib iam make a function to make a window its work good but i need make somthing like setFont or anyother function to edit for this window how i can do it code local windows = {} function drawWindow(x,y,width,heigh,titel,titelSize,font,borderColor,bgColor,closeBnt,postGUI) local element = createElement('dxWindow') if element then borderColor = borderColor or tocolor(15,15,15,155) bgColor = borderColor or tocolor(15,15,15,255) postGUI = postGUI or false local index = table.maxn(windows) + 1 windows[index] = {} windows[index][1] = element windows[index]["x"] = tonumber(x) windows[index]["y"] = tonumber(y) windows[index]["width"] = tonumber(width) windows[index]["heigh"] = tonumber(heigh) windows[index]["titel"] = tostring(titel) windows[index]["font"] = font or "sans" windows[index]["borderColor"] = borderColor or tocolor(15,15,15,155) windows[index]["bgColor"] = bgColor or tocolor(15,15,15,255) windows[index]["postGUI"] = postGUI or false windows[index]["titelSize"] = titelSize or 1 windows[index]["closeBnt"] = closeBnt or false end end function drawWin() for i, window in ipairs(windows) do local x = window["x"] local y = window["y"] local width = window["width"] local heigh = window["heigh"] local titel = window["titel"] local borderColor = window["borderColor"] local bgColor = window["bgColor"] local postGUI = window["postGUI"] local font = window["font"] local titelSize = window["titelSize"] local closeBnt = window["closeBnt"] roundedRectangle(x, y, width, heigh, borderColor, bgColor, postGUI) dxDrawText (titel, x+5 ,y+5, width, heigh, white, titelSize, font) if closeBnt == true then bntX = x - 19 + width dxDrawText ("X", bntX ,y+5, 10, 10, tocolor(215,15,15,255), 1, "default-bold") end end end addEventHandler("onClientRender",root,drawWin) drawWindow(700,100,200,200,"default",1,coolvetica,false,false,true,false)
  15. ذول الثنين سئلتهم من قبل تفضل هيفيدوك مثل ما فادوني https://forum.multitheftauto.com/topic/122953-xxاستفسارxx-شرح-لي-self/
  16. في شروحات في الويكي بتساعدك كثير مثل ما ساعدتني https://wiki.multitheftauto.com/wiki/CEF_Tutorial
  17. Thank you very much, something like this will help me a lot in my research
  18. يب لو تشوف الناس ايش مسوين بها تنخبل
×
×
  • Create New...