Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. TAPL

    command sounds

    wrong A bracket is missing.
  2. getDistanceBetweenPoints2D You need to have all hospitals position in a table. Then loop through the table and insert the distance between you and the hospital in another table and use table.sort to sort the distances in the table from smaller to bigger. The first row in the sorted table will be the closest.
  3. TAPL

    Join Music

    The wiki example have it like this: local sound = playSound("sounds/wasted.mp3") You can see there is " before and after the name of the song (string) also there is mp3 at the end of the song name. Some info about string: https://wiki.multitheftauto.com/wiki/String I don't know what is your song format, it could be MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS. If it was mp3 it will be like this: JoinMusic = playSound("earthquake.mp3")
  4. TAPL

    Join Music

    earthquake? Please visit the wiki to know how to use this function. https://wiki.multitheftauto.com/wiki/PlaySound
  5. TAPL

    command sounds

    @mint3d, IF statement not needed after 'or'.
  6. TAPL

    Join Music

    -- Client Side -- JoinMusic = playSound(...) addEvent("onLogin", true) addEventHandler("onLogin", root, function() if isElement(JoinMusic) then destroyElement(JoinMusic) end end) -- Server Side -- addEventHandler("onPlayerLogin", root, function() triggerClientEvent(source, "onLogin", source) end)
  7. TAPL

    Vehicle GUI

    You just forgot to define the table at server side: vehicles = { } And this was given to you already in previous replies, so if it still not working then you failed at copying the code in the right way or you have something wrong with the encoding and i don't think you have any problem with the meta file because the GUI is work and this show that the client/server side defined well.
  8. isTransferBoxActive
  9. حاولت؟ الكود الي انت حاطه جايبه من مود ثاني و هنا المشكلة المودات الي مو انت مسويها بيكون صعب انك تفهمها + مالها علاقة بالشي الي انت تبيه و ارجع لردي السابق انا طرحت فنكشين و افنت ايش علاقة هذا؟ function skillButton (id, cost) if (id == "0") then skillBuyPlayer (250,source,69) elseif (id == "1") then skillBuyPlayer (50000,source,70) elseif (id == "2") then skillBuyPlayer (50000,source,71) elseif (id == "3") then skillBuyPlayer (50000,source,72) elseif (id == "4") then skillBuyPlayer (50000,source,73) elseif (id == "5") then skillBuyPlayer (50000,source,74) elseif (id == "6") then skillBuyPlayer (50000,source,75) elseif (id == "7") then skillBuyPlayer (50000,source,76) elseif (id == "8") then skillBuyPlayer (50000,source,77) elseif (id == "9") then skillBuyPlayer (50000,source,78) elseif (id == "10") then skillBuyPlayer (50000,source,79) elseif (id == "11") then skillBuyPlayer (50000,source,24) elseif (id == "12") then skillBuyPlayer (50000,source,23) elseif (id == "13") then skillBuyPlayer (50000,source,21) end end
  10. الكود ماله اي معنى
  11. لما لاعب يموت onPlayerWasted killerWeapon تستخدم البارتمر تجيب المستوى حق السلاح getPedStat و تزيد عليه واحد setPedStat
  12. حاول تسوي بنفسك
  13. لا استخدم البارتمر https://wiki.multitheftauto.com/wiki/OnMarkerHit شوف الويكي
  14. setPedStat onPlayerWasted
  15. السورس للأفنت هذا هو الماركر الي انلمس يعني مو العنصر الي لمس الماركر و انت حاط سورس هنا يعني تجيب اسم الماركر؟ local name = getPlayerName(source) فهمت؟
  16. createBlipAttachedTo setPedAnimation getAttachedElements destroyElement
  17. https://wiki.multitheftauto.com/wiki/OnMarkerHit
  18. resourceRoot اللاعبين ما يكونون في الـ فقط root اللاعبين في شوف الرابط عشان تفهم https://wiki.multitheftauto.com/wiki/Element_tree
  19. GTA IV هذا هذا البرنامج يعتبر ميت سريرياً فيه برنامج ثاني وحسب المعلن راح ينزل اول اصدار تجريبي بعد 8 ايام http://www.multiv-mod.com
  20. تقدر تكرر الكود لكل الصور guiSetVisible(img1, true) guiSetVisible(img2, true) guiSetVisible(img3, true) guiSetVisible(img4, true) او تستخدم التيبل for i, img in ipairs (imgsTable) do guiSetVisible(img, true) end
  21. 1- نفس كود الي تستخدمه للنافذه تقدر تستخدمه للصورة 2- dxDrawRectangle
  22. TAPL

    black screen

    Same here. addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, player) end )
  23. الظاهر عندك فوبيا من جراند العرب بدون مصدر لكلامك ما يحتاج نتعب نفسنا اطرح الرابط للموقع الرسمي و الكلام الي بالموقع و حتى لو كان صحيح ان بيكون فيه اون لاين ايش الي يخص جراند العرب بالسالفه لول!!! بعدين تقريباً 90% او اكثر من الي يلعبون في ام تي اي ما راح يقدرون يشغلون اللعبة لان اجهزتهم ضعيفة + اللعبة مو مجانية
  24. الحبيب سكران؟ ترا اللعبة لحد الآن ما نزلت للكمبيوتر ولا قالو انها بتنزل للكمبيوتر اصلاً و اي لغة برمج الي تتكلم عنها مضيع شكلك ههههههههههههه اللعبة ما نزلت للكمبيوتر ولا قالو انها بتنزل للكمبيوتر انت ما شاء الله تعرف لغة البرمجة للأون لاين هذا إذا كان فيه برمجة للأون لاين اصلاً! ما سمعنا ان روكستار تسوي برمجة للأون لاين و سيرفرات و الخ ينقل للقسم العام
  25. كلامك الغاز اي اكواد تقصد؟
×
×
  • Create New...