Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. I don't see any error, make sure you have saved the file and restarted the resource to apply the change.
  2. Post the code.
  3. Happen sometimes, but if you have the debug opened you would have noticed the error easily. https://wiki.multitheftauto.com/wiki/Debugging
  4. Line 4 and 10, the function name does not match.
  5. ما راح نساعدك بمودات مسروقة يغلق
  6. guiCreateStaticImage
  7. TAPL

    Command Handler

  8. ما يهمني من وين جبت الرابط يهمني ان المود من برمجتي و هو من ضمن المودات الي تسربت من جراند العرب
  9. You're welcome.
  10. https://community.multitheftauto.com/
  11. hitElement is always there, otherwise the event won't get trigger. Obviously you are talking about onPlayerWasted which sometimes does not have killer and this occur if the player jump from high place and died.
  12. local marker1 = createMarker(0, 0, 5, "cylinder", 2, 0, 255, 0, 255) local marker2 = createMarker(50, 50, 50, "cylinder", 2, 0, 255, 0, 255) function markerfix(hitElement) if (source == marker1) or (source == marker2) then if getElementType(hitElement) == "player" then local ve = getPedOccupiedVehicle(hitElement) if ve then fixVehicle(ve) takePlayerMoney(hitElement, 350) end end end end addEventHandler("onMarkerHit", root, markerfix)
  13. You need to pass the source into the timer.
  14. TAPL

    banPlayer

    You should output before banning the player, as you now ban the player then trying to get the name of the player but the player no longer exist.
  15. onPlayerWasted must work.
  16. You mean this? https://wiki.multitheftauto.com/wiki/OnClientPlayerHitByWaterCannon
  17. http://i.imgur.com/M6yASj3.jpg http://i.imgur.com/ZyZPqHK.jpg
  18. https://wiki.multitheftauto.com/wiki/OnClientPlayerHeliKilled
  19. I tested the code and it work except it won't work if your name was long.
  20. What does not work?
  21. طيب المطلوب؟
  22. لو استخدمت الدي بق كان عرفت وين الخطأ المهم لقيت خطأ ثاني في سطر 51 guiGetVisible (wnd, false) المفروض guiSetVisible (wnd, false)
  23. ما اشوف فيه خطأ بأسم النافذة بس فعلاً الفاصلة ما بين اسم التريقر و لوكل بلاير مو موجودة بداً من سطر 97
  24. يقصد السلاح المهم ذا الكود setWeaponProperty("m4", "pro", "flags", 0x000002)
  25. انت تخربط من راسك
×
×
  • Create New...