Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. TAPL

    سؤال

  2. اول ما يخش اللاعب السيرفر يحمل المودات و بعدها تشتغل المودات و اول ما تسوي اللوحة تكون مفتوحه ما اشوف معنى لموضوعك .__.
  3. تأكد انك مو حاط فنكشن نفس الأسم زي كذا function downloadFile()
  4. غير معرف xml عندك تخبيص واضح بالمتغيرات حتى
  5. else خطأ الدي بق الي انت حاطه ما له علاقه بالكود و اساس كودك مافيه
  6. كودك الفوق يتحقق لو معه فلوس 1500 تنسحب منه و لو الدرع اقل من 100 يعطي يعني ف ذا الحال لو تحقق شرط الاول يلي هو الفلوس بتنسحب الفلوس و بدون درع مفتي المنتدى هو صحيح كوده خطأ لانه يتحقق ان كان الدرع 50 وفوق يعني ان كان اقل من 50 ما رح يعطيه درع رح يعطيه إذا كان 50 وفوق حتى لو كان 100 رح يسحب فلوس، ما اعتقد ذا الي يبيه صاحب الموضوع
  7. ملف الأكس ام ال مو حاطه بالميتا -_-""
  8. اطرح الميتا و ملف الأكس ام ال و اشرح ايش الي تبي تسويه بالأخص السطر ذا local n3 = xmlNodeGetValue(xmlFindChild(xml, "txd", 0)) and xmlNodeGetValue(xmlFindChild(xml, "dff", 0))
  9. أنا جربت الكود و كل شي شغال تمام يعني في 3 احتمالات * جالس تطقطق علينا * عندك مشكلة بالميتا * ما تعرف تجرب الكود الي يفترض انت الي مبرمجه
  10. local Markerarmor = createMarker(1459.035, -1156.93, 23.67, "cylinder", 2, 255, 0, 0, 150) addEventHandler("onMarkerHit", Markerarmor, function(player) if getElementType(player) == "player" then if getPlayerMoney(player) >= 1500 then takePlayerMoney(player, 1500) setPedArmor(player, 100) end end end)
  11. شغال عندي
  12. function getCars () local xml = xmlLoadFile("veh.xml") if xml then local n1 = xmlNodeGetValue(xmlFindChild(xml, "car", 0)) local n3 = xmlNodeGetValue(xmlFindChild(xml, "txd", 0)) and xmlNodeGetValue(xmlFindChild(xml, "dff", 0)) local row = guiGridListAddRow(CarsGrid) guiGridListSetItemText(CarsGrid, row, col, n1, false, false) guiGridListSetItemData(CarsGrid, row,col, n3) end end
  13. شركة جيجابايت ما تصمم الكروت، تاخذ التصميم من نفيديا و اي ام دي
  14. Recheck the link, i posted the fix already.
  15. https://bugs.multitheftauto.com/view.php?id=8833
  16. getAccountName يحتاج في ايش؟
  17. https://community.multitheftauto.com/ind ... s&id=10718 https://community.multitheftauto.com/ind ... s&id=10719 https://community.multitheftauto.com/ind ... s&id=10974 https://community.multitheftauto.com/ind ... ls&id=8826 DONE
  18. TAPL

    no warp!

    I guess it because you're using old file util.lua and util_server.lua Try those: https://github.com/multitheftauto/mtasa ... m/util.lua https://github.com/multitheftauto/mtasa ... server.lua
  19. http://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%B9%D8%AF%D8%A9_%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA
  20. إذا كنت من النوع الأول createMarker getElementType getPlayerTeam getTeamName createVehicle warpPedIntoVehicle 'onMarkerHit' إذا كنت من النوع الثاني و انتظر احد يتفضل و يعطيك الجاهز
  21. https://community.multitheftauto.com/index.php?p=resources&s=details&id=10403 DONE
  22. There's extra "
  23. TAPL

    no warp!

    You're welcome.
  24. SQL شرح https://forum.multitheftauto.com/viewtopic.php?f=164&t=56729 مثال موجود بالويكي https://wiki.multitheftauto.com/wiki/GuiGridListSetItemData
  25. TAPL

    no warp!

    Actually removeElementData is server side only, you should use setElementData to remove the data client side. Also player not defined you should use g_Me or localPlayer. function disableWarp() if guiCheckBoxGetSelected(getControl(wndMain, 'disablewarp')) then setElementData(g_Me, "IsWarpLocked", true) else setElementData(g_Me, "IsWarpLocked", false) end end
×
×
  • Create New...