Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. طيب هذا الكود انا ابيه لما يكون اكثر من لاعب واحد بس يلمس الماركر وينقل كل الاعبين marker5 = createMarker( 1379.8220214844,-945.32458496094,2171.8156738281, "cylinder", 2, 100, 100, 100, 255) function theMarker( hitPlayer, matchingDimension ) if(getTeamName(getPlayerTeam(hitPlayer))=="Police")then setMarkerColor ( marker5, 65, 105, 255, 255 ) elseif (getTeamName(getPlayerTeam(hitPlayer))=="Criminal") then setMarkerColor ( marker5, 255, 0, 0, 255 ) R,G,B = getMarkerColor(marker5) if(R==255 and G==0 and B==0)then removeEventHandler( "onMarkerHit", marker5, theMarker ) if isElementWithinMarker(localPlayer, marker5) then setTimer(givePlayerMoney,20000,1,hitPlayer,16000) end end end end addEventHandler( "onMarkerHit", marker5, theMarker ) قصدك ينقل كل اللاعبين الي في السيرفر؟
  2. -- Client Side -- addEventHandler("onClientPlayerDamage", localPlayer, function() if getElementModel(source) == 217 then cancelEvent() end end)
  3. كلينت
  4. setWorldSpecialPropertyEnabled("extrajump", true)
  5. TAPL

    help?

    i can see the timer showing on the Money hud.
  6. setWorldSpecialPropertyEnabled
  7. guiSetText
  8. TAPL

    مساعده

    getResources هذي للمودات مكتوب ريسورس ابي المابات ههههههههه طيب بسئلك المابات في أي مجلد تحطها؟
  9. نفس المشكله حط كودك كلينت و سيرفر و ميتا debugscript 3 و الأخطاء الي في
  10. GUIEditor_Window = {} GUIEditor_Window[1] = guiCreateWindow(154,151,543,369,"",false) guiCreateStaticImage(0, 0, 543, 369, "ImageName.png", false, GUIEditor_Window[1])
  11. https://forum.multitheftauto.com/viewtopic.php?f=91&t=49615#p487063
  12. حط كودك
  13. يغلق
  14. -- Server Side -- bindKey getPlayerTeam getPlayersInTeam triggerClientEvent -- Client Side -- playSound outputChatBox
  15. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6001 DONE
  16. No. You must supplied all previous arguments before the argument you wanted to use. https://wiki.multitheftauto.com/wiki/Optional_arguments
  17. https://community.multitheftauto.com/index.php?p=resources&s=details&id=652
  18. -- Server Side -- addEventHandler("onPlayerWasted", root, function() local x, y, z = getElementPosition(source) triggerClientEvent(root, "onWasted", root, x, y, z) end) -- Client Side -- addEvent("onWasted") addEventHandler("onWasted", root, function(x, y, z) createExplosion(x, y, z, 0, true, -1.0, false) end)
  19. ضيف أدمنية كثر الي تبي check = { {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, } addEventHandler("onPlayerJoin", root, function() for i, v in ipairs(check) do if getPlayerName(source) == v["Name"] then if getPlayerSerial(source) == v["Serial"] then outputChatBox(v["rName"].." تم دخول الادمن الحقيقي", root, 255, 0, 0) else outputChatBox(v["rName"].." تم تقليد نك نيم الادمن", root, 255, 0, 0) banPlayer(source, false, false, true, root, "سبب الباند هنا") end end end end)
  20. السكربت كله 14 سطر من وين جا سطر 20
  21. settings أسمك الي مسجل في
  22. MyName = "اسمك هنا" MySerial = "سيريالك هنا" addEventHandler("onPlayerJoin", root, function() if getPlayerName(source) == MyName then if getPlayerSerial(source) == MySerial then outputChatBox("تم دخول الادمن الحقيقي حسن", root, 255, 0, 0) else outputChatBox("تم تقليد نك نيم الادمن حسن", root, 255, 0, 0) banPlayer(source, false, false, true, root, "سبب الباند هنا") end end end)
  23. http://linux.multitheftauto.com/dl/131/baseconfig.tar.gz
  24. https://forum.multitheftauto.com/viewtopic.php?f=119&t=49609
  25. function onGuiClick () if source == killBtn then setElementHealth(localPlayer, 0) end end addEventHandler("onClientGUIClick", resourceRoot, onGuiClick)
×
×
  • Create New...