Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. TAPL

    يغلق

    isWorldSpecialPropertyEnabled
  2. guiSetVisible 'onClientGUIClick'
  3. حسب آخر تجربة لي إذا سويت الصاروخ بالكلينت حقك اللاعبين الباقين ما رح يشوفون الصاروخ بس رح يشوفون الأنفجار حقه
  4. https://wiki.multitheftauto.com/wiki/Predefined_variables_list
  5. addEventHandler("onClientGUIClick", guiRoot, function() if source == theButton then clicked = true end end) addEventHandler("onClientPlayerWasted", localPlayer, function() if clicked then outputChatBox("You died!", 255, 0, 0) clicked = nil end end)
  6. getPlayerAccount return account element, you still need getAccountName to get the account name.
  7. local Col = createColRectangle(3463.8076, -935.75146, 43, 49.75, 2) addEventHandler("onClientColShapeHit", Col, function(hitElement) if hitElement == localPlayer then guiSetEnabled(GUIEditor.button[3], false) end end) addEventHandler("onClientColShapeLeave", Col, function(leaveElement) if leaveElement == localPlayer then guiSetEnabled(GUIEditor.button[3], true) end end)
  8. تحتاج تحط تحقق ان الي لمس الكول شيب هو اللوكل بلاير
  9. جرب GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(527, 216, 328, 369, "[ G.N | Werp # الانتقالات | G.N ]", false) guiSetVisible(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF00E9FD") GUIEditor.button[1] = guiCreateButton(99, 326, 131, 33, "[ werp | إنتقال ]", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFE00") GUIEditor.gridlist[1] = guiCreateGridList(32, 28, 261, 288, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Werp #", 0.9) MKAN = { {"آسـتـرآحـة آلـجنوون",2335.490234375,-1658.9318847656,13.37931060791}, {"موقف الباصات",1790.2674560547,-1912.0159912109 , 13.396838188171}, {"سـفـيـنـة",-2520.77734375,1545.1779785156,17.328125}, {"آلـمـسـبـح",2295.2536621094,659.69207763672,10.8203125}, {"جسر المعلق",-2674.5361328125,1221.0744628906,55.4296875}, {"الفنادق",-1739.0821533203, 940.56231689453, 24.7421875}, {"الـمـعـرض",-1656.5615234375,1213.548828125,7.25}, {"المـطآر الاول",1409.7137451172,-2509.9780273438,13.5546875}, {"المـطآر الثآني",-1503.4846191406,-131.5910949707,14.1484375}, {"حي السكاني آلآول",1573.5174560547,713.45556640625,10.822286605835}, {"حي السكاني آلثآني",-1682.8609619141,1365.5950927734,7.1721897125244}, {"حي السكاني آلثآلث",2866.7397460938,-1958.3475341797,11.109375}, {"قصور الشيوخ 1",959.62994384766,-641.74029541016,121.31896209717}, {"قصور الشيوخ 2",-2400.1049804688,335.70724487305,35.171875,}, {"قصر الشيخ شادو",1170.6643066406,-2035.2841796875,69.0078125}, {"الشارع الطويل",-3037.3972167969,-3193.962890625,2.0999999046326}, {"شارع البستان",2491.12109375, -1667.4482421875, 13.34375}, {"السد الكبير",-887.02734375, 2000.9217529297, 60.654315948486}, {"الـدآئـري",1686.5134277344,1400.2590332031,10.748929977417}, {"الـنـخـيـل",2126.0661621094,1409.3852539063,10.8203125}, {"شارع الفروسيه",2878.1115722656, -1110.029296875, 10.882762908936}, {"شارع الغروب",662.55310058594, 1936.7479248047, 5.5052728652954}, {"طـعـس",1054.4178466797,2816.0053710938,13.025714874268}, {"ساحه التفجير",-2051.4926757813, -173.29304504395, 35.3203125}, {"سرقة البنك",596.84881591797, -1240.9123535156, 18.089265823364}, {"آلـبـنـكـ",1013.4171142578,-935.34442138672,42.1796875}, } for i,mk in ipairs(MKAN) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) end addEventHandler("onClientGUIClick", GUIEditor.button[1], function() local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if sel ~= -1 then local x, y, z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1], sel, 1)) outputChatBox("# Warped.", 54, 151, 224) fadeCamera(false) setTimer(fadeCamera, 1500, 1, true) setTimer(setElementPosition, 1200, 1, localPlayer, x, y, z) end end, false) bindKey("F6", "down", function() if not guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end)
  10. ما اشوف شي بكودك يفتح القريد لست او الزر او اي شي ثاني + اللوحة مفتوحه انت ما قفلتها اصلا
  11. ما فهمت ايش تقصد ممكن تشرح بطريقة افضل؟
  12. اعتقد ذا الي تبيه https://community.multitheftauto.com/index.php?p=resources&s=details&id=5317 + bullet_sync زيم ذا اسم شخص يلعب ام تي اي وكان مسوي شرح باليوتيوب لطريقة تفعيل خاصية الحين الي مو فاهمه ايش علاقة زيم بالخاصية عشان تحطونها بأسمه؟ لاهو برمجها ولا هو اخترعها ولا له علاقة يعني لازم صواريخ؟
  13. r g b استخدم الأفنت ذا رح يعطيك اللون بارتمارات https://wiki.multitheftauto.com/wiki/OnClientChatMessage
  14. 01 ? آو 10 ? هل تريد الرجوع لشهر 1 ؟ ذا بالنظام الأمريكي هم يحطون الشهر بعدين اليوم بعدين السنة mm/dd/yyyy
  15. TAPL

    سؤال

    getElementData او جرب فنكشن getTacticsData جرب فنكشن التكتيك بالأكسبورت
  16. Your code is nonsense. From where you come up with those parameters? function loadHandling (radia, names, st) You didn't pass anything: loadHandling() And again from where you come up with those parameters? this event don't have those parameters. addEventHandler("onClientGUIChanged",root, function (radia, names, st) I can't see why you doing this over and over. stationsNames = names stations = st radia not used anywhere. name not defined here: if string.find(string.upper(name),string.upper(guiGetText(handling_editsearch))) then
  17. https://forum.multitheftauto.com/viewtopic.php?f=160&t=85065
  18. TAPL

    سؤال

    سوي ملف سيرفر سايد جديد و ضيفه بالميتا مع التكتيك ضيف فيه الكود ذا for i, value in ipairs(getEventHandlers("onPlayerChat", root)) do removeEventHandler("onPlayerChat", root, value) end
  19. TAPL

    سؤال

    ^ تكتيك مشفر 'getEventHandlers' removeEventHandler
  20. انت ارسلت لي رسالة خاصة و ذا كان ردي قبل ساعة و 31 دقيقة
×
×
  • Create New...