Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. ال اى دى اف بتقدر بيه تعمل ماب باستخدام الماب اديتور و بالماب و السكربت تقدر تستخدم الماب امثلة https://community.multitheftauto.com/index.php?p= ... ils&id=347 https://community.multitheftauto.com/index.php?p= ... ails&id=54
  2. لازم علشان تترجم ال ماب للنتيجة الى انت تريدها
  3. edf حلك هو ال "Editor Definition Format" https://wiki.multitheftauto.com/wiki/Resource:Editor/EDF
  4. It was bugged, and I didn't have the time or the motivation to fix it.
  5. This is great! Good work.
  6. And somehow my old dxDrawFramedText function is in the script. Maybe the dx messages on the left is mine too.
  7. That's how fast I got a reply when I opened a ticket. Just ordered a VPS, was ready in less than 30 seconds.
  8. local result = executeSQLQuery("SELECT houseID,houseOwner,housePrice,houseX,houseY,houseZ FROM Houses WHERE houseID=?") IDوضعت علامة الاستفهام و لم تحدد ال من الكود انا اعتقد انك تريد كل المعلومات function createHousesOnStart() local result = executeSQLQuery("SELECT * FROM Houses") if (#result == 0) then return end for index, row in pairs(result) do local house if (row.houseOwner == "None") then house = createPickup(row.houseX, row.houseY, row.houseZ, 3, 1273, 0) else house = createPickup(row.houseX, row.houseY, row.houseZ, 3, 1272, 0) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), createHousesOnStart)
  9. و هو دى المشكلة مش حنتقدم خطوة واحدة لو استمرينا نختلف على اتفع الأسباب
  10. ما شاء الله بدل من ان نساعد بعض راح نختلف على الترجمة المهم القارئ يفهم مش لازم تبقى بالضبط
  11. There is already a command, so you can simply bind it. /showhud 1 - Shows the hud. /showhud 0 - Hides the hud.
  12. JR10

    Translators Needed

    Arabic goes from right to left. I'm not the best one to help you translate, but, wouldn't that cause a problem?
  13. = الاسم هو الكلمة قبل علامة button = guiCreateButton(102,133,167,45, "login/register", false,tablogin) button حيكون اسمه
  14. لازم اعطاء المال يكون سيرفر والا سيكون ظاهرى فقط
  15. جرب local screenWidth, screenHeight = guiGetScreenSize() local posX, posY, posZ = 37642822265625, 18852113342285, 1008.3893432617 mrkCol = createColCircle(posX, posY, 1) function drawImage() local screenX, screenY = getScreenFromWorldPosition(posX, posY, posZ) local camX, camY, camZ = getCameraMatrix() local distance = getDistanceBetweenPoints2D(camX, camY, posX, posY) if (screenX and distance < 50) then local scale = 1000 / screenWidth local width = 80 / scale dxDrawImage(screenX - width / 2, screenY - screenHeight / 10, width, 80, "business.png") end end addEventHandler("onClientRender", root, drawImage) function onImageHit() removeEventHandler("onClientRender", root, drawImage) destroyElement(source) triggerServerEvent("giveMoney", localPlayer) end addEventHandler("onClientColShapeHit", mrkCol, onImageHit)
  16. هذه للبيد فقط :استخدم لللاعب setControlState
  17. JR10

    Redeem Code

    You have a missing end. function onRedeemCode(thePlayer, commandName, code) if not (code) then outputChatBox("SYNTAX: /".. commandName .." [Redeem Code]", thePlayer, 125, 294, 14) else if code == "sodq-39jd-239j-230jd" then --setPlayerMoney(thePlayer, 1000000)-- What thing tha twill happen else outputChatBox("This code is not in our code database, sorry.", thePlayer, 255, 0, 0) end end end addCommandHandler("redeemcode", onRedeemCode)
  18. Some of my outdated resources that are bugged, and I'm not planning to update them. https://community.multitheftauto.com/index.php?p= ... ls&id=2484 https://community.multitheftauto.com/index.php?p= ... ls&id=2575 https://community.multitheftauto.com/index.php?p= ... ls&id=3820 https://community.multitheftauto.com/index.php?p= ... ls&id=2909
  19. تحتاج تعطى المال عن طريق السيرفر لأن المال كلاينت سوف يكون مجرد ظاهرى Client: local screenWidth, screenHeight = guiGetScreenSize() local posX, posY, posZ = 0, 0, 3 -- EDIT 0, 0, 0 TO CHANGE THE POSITION mrkCol = createColCircle(posX, posY, 1) function drawImage() local screenX, screenY = getScreenFromWorldPosition(posX, posY, posZ) local camX, camY, camZ = getCameraMatrix() local distance = getDistanceBetweenPoints2D(camX, camY, posX, posY) if (screenX and distance < 50 and isLineOfSightClear(camX, camY, camZ, posX, posY, posZ)) then local scale = 1000 / screenWidth local width = 80 / scale dxDrawImage(screenX - width / 2, screenY - screenHeight / 10, width, 80, "business.png") end end addEventHandler("onClientRender", root, drawImage) function onImageHit() removeEventHandler("onClientRender", root, drawImage) destroyElement(source) triggerServerEvent("giveMoney", localPlayer) end addEventHandler("onClientColShapeHit", mrkCol, onImageHit) Server: function giveMoney() givePlayerMoney(client, 20000) end addEvent("giveMoney", true) addEventHandler("giveMoney", root, giveMoney)
  20. أنا جربت كودى و يشتغل لى local screenWidth, screenHeight = guiGetScreenSize() local posX, posY, posZ = 0, 0, 3 -- EDIT 0, 0, 0 TO CHANGE THE POSITION mrkCol = createColCircle(posX, posY, 1) function drawImage() local screenX, screenY = getScreenFromWorldPosition(posX, posY, posZ) local camX, camY, camZ = getCameraMatrix() local distance = getDistanceBetweenPoints2D(camX, camY, posX, posY) if (screenX and distance < 50 and isLineOfSightClear(camX, camY, camZ, posX, posY, posZ)) then local scale = 1000 / screenWidth local width = 80 / scale dxDrawImage(screenX - width / 2, screenY - screenHeight / 10, width, 80, "business.png") end end addEventHandler("onClientRender", root, drawImage) function onImageHit() removeEventHandler("onClientRender", root, drawImage) destroyElement(source) end addEventHandler("onClientColShapeHit", mrkCol, onImageHit) meta.xml لصورتك ولا تنسى تضيفها فى ال business.png غير
  21. function mrsl6an() guiSetVisible (GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) playSound("sound.mp3", false) end bindkey ("f2", "down", mrsl6an) لاسم الصوت sound.mp3 غير
  22. ممكن لا يكون ما اردته local screenWidth, screenHeight = guiGetScreenSize() local posX, posY, posZ = 0, 0, 3 -- EDIT 0, 0, 0 TO CHANGE THE POSITION mrkCol = createColCircle(posX, posY, 1) function drawImage() local screenX, screenY = getScreenFromWorldPosition(posX, posY, posZ) local camX, camY, camZ = getCameraMatrix() local distance = getDistanceBetweenPoints2D(camX, camY, posX, posY) if (screenX and distance < 50 and isLineOfSightClear(camX, camY, camZ, posX, posY, posZ)) then local scale = 1000 / screenWidth local width = 80 / scale dxDrawImage(screenX - width / 2, screenY - screenHeight / 10, width, 80, "business.png") end end addEventHandler("onClientRender", root, drawImage) function onImageHit() removeEventHandler("onClientRender", root, drawImage) destroyElement(source) end addEventHandler("onClientColShapeHit", mrkCol, onImageHit) غير local posX, posY, posZ = 0, 0, 3 علشان تغير مكان الصورة
  23. هالكلمة موجودة من سنوات هذا مش حق هذا شئ لا يستحق النقاش عليه
×
×
  • Create New...