Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. * ينقل لقسم البرمجة
  2. mtaserver.conf في ملف تأكد ان القيم عندك 1 1 وتأكد ان مافيه اي رابط او اي شي هنا و تأكد ان اصدار سيرفرك احدث شي
  3. اضفت قيمة في التيبل لاكن ما حذفتها يبدأ يتطابق مع لاعب توه داخل السيرفر ولا ضغط على الزر userdata الي راح يصير ان التيبل بيكبر حجمه مع الوقت لدرجة ان الـ و هنا راح تبدأ المشاكل فالأفضل تحذف القيمة من التيبل لما ينتهي التايمر او لما تسوي كيل تايمر Edit: عندك اند زايد في سطر 10 و قوس زايد في سطر 17 + الأفنت ما حذفته
  4. You're welcome.
  5. Change this table.sort(theTable) to table.sort(theTable, function(a,b) return a[1] > b[1] end)
  6. function onMachineClick(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, element) if element and getElementType( element ) == "object" and button == "right" and state == "down" and getElementModel(element) == 955 then outputChatBox( "WORKS" ) end end addEventHandler("onClientClick", getRootElement(), onMachineClick)
  7. TAPL

    Talking sounds.

    setPedVoice
  8. http://files.mtasa.com/apps/tools/MTADiag.exe
  9. I guess the client side script haven't started yet when you have send the trigger. And client can be used server side only. You don't need for the trigger, just use the event onClientResourceStart in client side.
  10. https://wiki.multitheftauto.com/wiki/OnClientClick
  11. مثال على السريع -- Server Side addEventHandler("onPlayerChat", root, function(msg) if msg == "هلا" then outputChatBox("هلا فيك", root, 255, 255, 255, true) end end)
  12. onPickupHit is server side. -- Server Side local M4Pickup = createPickup(-2812.4370,-849.909,23.22,2,31,300,0) function GiveDayZItem(player) setElementData(player, "Coyote Backpack", 1) setElementData(player, "Map", 1) setElementData(player, "GPS", 1) setElementData(player, "Toolbox", 1) end addEventHandler("onPickupHit", M4Pickup, GiveDayZItem)
  13. https://wiki.multitheftauto.com/wiki/OnPlayerChat https://wiki.multitheftauto.com/wiki/OutputChatBox * ينقل إلى قسم البرمجة
  14. Not false, it's just your comparison won't equal. if you want it work, you'll have to change this line local X = math.random(5, 70) to local X = 100 Otherwise you have to change your comparison and use < and > and <= and >=
  15. طيب شفر لنا ملف وهاته نجرب ينفك او لا . https://community.multitheftauto.com/in ... ls&id=6631 ذذ ياشين للي كذا يسوي نفسه يعرف حمله وجرب ينفك ولا لا
  16. TAPL

    Firing Rate

    setWeaponProperty(24, "pro", "flags", 0x000400)
  17. TAPL

    Skin problem

    -- by Solidsnake14. local playerWeapons = { } addEventHandler ( "onPlayerWasted", root, function ( ) if ( not playerWeapons [ source ] ) then playerWeapons [ source ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( source, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( source, slot ) if ( ammo > 0 ) then playerWeapons [ source ] [ weapon ] = ammo end end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) if ( playerWeapons [ source ] ) then for weapon, ammo in pairs ( playerWeapons [ source ] ) do giveWeapon ( source, tonumber ( weapon ), tonumber ( ammo ) ) end end playerWeapons [ source ] = nil end )
  18. TAPL

    Firing Rate

    setWeaponProperty
  19. txd و ال dff الآيدي هو نفسه حق الـ
  20. و انت بنص الف خير
  21. ذا حق الي يطلع اللاعب من النافذه و يطلق هو يقصد شي ثاني زي كذا يبي يطلع برشاش فوق الهمر هههه
  22. https://forum.multitheftauto.com/viewtopic.php?f=148&t=38203
  23. setElementModel client side won't change the model for everyone, so that you know.
  24. ما راح اقول لك سو نظام دعم فني لأستضافاتك زي باقي الأستضافات أنت حر بس لا تعمل لنا سبام مواضيع و اقل شي ممكن تسويه انك تستعمل زر تعديل و تعدل موضوعك و تضيف آخر تحديثاتك
  25. https://wiki.multitheftauto.com/wiki/CreateWeapon ما يحتاج اتعب نفسي و اكتب كل الفنكشات لان ما اتوقع انك بتقدر تسويه
×
×
  • Create New...