Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. يا حبيبي كمل في الموضوع السابق لاتفتح موضوع جديد
  2. local object = createObject(table[math.random(#table)],-713,957,11,90,0,0)
  3. FROM VERSION 1.4 ONWARDS.
  4. نسيته ض1
  5. في سطر 22 و 23 عندك قوس و اند مدري ليه انت حاطهم لان مالهم داعي مو معرف gridlist و GUIEditor اضافة إلى ان التيبل
  6. TAPL

    about markers

    The script already get the positions of all markers in the server and draw the line by itself you don't need to get it manually. There's only one problem with alpha within 50p code. local color = tocolor( getMarkerColor( marker ) ) Change to: local r, g, b = getMarkerColor( marker ) local color = tocolor( r, g, b, 255 )
  7. You're welcome.
  8. متأكد كامل؟ جرب ذا local screen = { guiGetScreenSize() } local w, h = 173, 215 local x, y = (screen[1] - w) / 2, ( screen[2] - h ) / 2 GUIEditor = { gridlist = {} } window = guiCreateWindow( 307, 173, 173, 215, "Support Team", false) guiSetVisible(window, false) guiSetProperty(window, "CaptionColour", "FF01B5B3") GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 154, 184, false, window) guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.9) for i = 1, 10 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "-", false, false) function guiAddInterpolateEffect(...) return call(getResourceFromName("GIE"), "guiAddInterpolateEffect", unpack({...})) end bindKey("F5", "down", function() local isVisible = guiGetVisible(window) if isVisible then local cx, cy = guiGetPosition(window, false) local cw, ch = guiGetSize( window, false) guiAddInterpolateEffect(window, cx, cy, cw, ch, 0, 0, 0, 0, 2, "Linear", "Linear", false) else guiAddInterpolateEffect(window, 0, 0, 0, 0, x, y, w, h, 2, "Linear", "Linear", true) end showCursor(not isVisible) end)
  9. كودك ذا كامل ولا ناقص؟
  10. exports.scoreboard:addScoreboardColumn("Score") addEventHandler("onPlayerWasted", root, function(_, attacker) if (attacker and getElementType(attacker) == "player") and (attacker ~= source) then local sScore = getElementData(source, "Score") or 0 local aScore = getElementData(attacker, "Score") or 0 setElementData(source, "Score", sScore-1) setElementData(attacker, "Score", aScore+1) end end) function myscore(player) local MyScore = getElementData(player, "Score") or 0 outputChatBox("Your score is "..tostring(MyScore), player, 0, 255, 0) end addCommandHandler("myscore", myscore)
  11. وين كودك؟
  12. الحين انت تفكر ملف البي اتش بي وين ترفعه؟ ض1 ملف بي اتش بي ترفعه على موقع و تحط الرابط بالمود
  13. ايش الي مو واضح فيه؟
  14. لك خبره في بي اتش بي بالأخير ما تعرف تسوي الملف؟ MTA SDK في صفحة الويكي حاط كود بي اتش بي و يبيك تحطه في ملف و ترفعه على موقع و طبعاً لازم ترفع معه
  15. myGate2 = createObject(980, 489.5, -2499.1, 3.1, 0, 0, 90) function openMyGata(player) moveObject(myGate2, 1500, 489.5, -2499.1, -3.1) exports['topbarchat']:sendClientMessage("تم فتح البوابة ", player, 255, 255, 255, true) triggerClientEvent(player, "ee", player) end addCommandHandler("O", openMyGata) function movingMyGataBack() moveObject(myGate2, 1500, 489.5, -2499.1, 3.1, 0, 0, 0 ) exports['topbarchat']:sendClientMessage("تم إغلاق البوابة ", player, 255, 255, 255, true) triggerClientEvent(player, "ee", player) end addCommandHandler("C", movingMyGataBack) addEvent("ee", true) addEventHandler("ee", root, function() playSound("abu1.mp3") end)
  16. https://wiki.multitheftauto.com/wiki/SmoothMoveCamera
  17. ^ هريس setSunColor(255, 0, 0, 255, 0, 0) setWaterColor(255, 0, 0)
  18. setPedStat
  19. TAPL

    Vehicle id

    I didn't understand what you mean, try to explain better?
  20. TAPL

    addEvent()

    You can't use the client side to draw the text. You must use the server side text function which i already gave you ready code in your previous topic. https://forum.multitheftauto.com/viewtopic.php?f=91&t=76940
  21. TAPL

    Help ~ IRC

    You didn't put the file extension and you don't need 'directory' folder huh!
  22. TAPL

    Help me

    Hey there! No one will be able to help you all I know that your script is 'different' and you have database file uploaded at 'PHPMyAdmin' and you asking 'what to do next', so how we know what kind of database you have? Go ahead and figure out that yourself. https://wiki.multitheftauto.com/wiki/dbConnect https://wiki.multitheftauto.com/wiki/Modules/MySQL https://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL
  23. TAPL

    Help me

    We can't tell anything without seeing the codes to figure out 'what to do next'.
  24. TAPL

    Help me

    Why you don't ask who "gave all scripts"?
  25. TAPL

    Help me

    I have no idea what you talking about.
×
×
  • Create New...