Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. دز؟ شخيه؟
  2. interpolateBetween
  3. Copy again.
  4. local sX, sY = guiGetScreenSize() local imTime = 5000 -- 5 sec for each image local img = { "4.png", "5.png", "6.png" } addEventHandler("onClientResourceStart", resourceRoot, function() cIndex = (cIndex or 0) + 1 backGround = guiCreateStaticImage(0, 0, sX, sX, img[cIndex], false) setTimer(function() guiStaticImageLoadImage(backGround, img[cIndex]) end, imTime, #img-1) end)
  5. تأكد من الميتا و اسم ملف الكلينت
  6. addEventHandler("onClientPlayerDamage", localPlayer, function(attacker) if attacker and attacker ~= source and getElementType(attacker) == "player" then cancelEvent() end end) And there's no way to prevent punching other than setting all players in one team and disable friendly fire with setTeamFriendlyFire.
  7. function teamName(thePlayer) local playerTeam = getPlayerTeam(thePlayer) if (playerTeam) then outputChatBox("Your team is "..getTeamName(playerTeam)) else outputChatBox("You are not in a team") end end addCommandHandler("teamname", teamName)
  8. جميع اكوادك كلينت GUIEditor_Window[1] و المقصود بأسم اللوحة يعني المتغير الخاص باللوحة الي هو يجي بعد علامة = بالكود حقك اسم متغير اللوحة GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(318,49,313,541,"VIP",false) guiSetVisible(GUIEditor_Window[1], false) -- اخفاء اللوحة guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(0.1725,0.4436,0.6422,0.0739,"VIP1",true,GUIEditor_Window[1]) GUIEditor_Image[1] = guiCreateStaticImage(0.0383,0.0425,0.9201,0.3087,"images/mtalogo.png",true,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(0.1725,0.5878,0.6422,0.0739,"VIP2",true,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(0.1725,0.7283,0.6422,0.0739,"VIP3",true,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(0.1725,0.878,0.6422,0.0739,"VIP4",true,GUIEditor_Window[1]) local Serials = { ["انا شايل السريال حقي"] = true, } addCommandHandler("VIP1", function() if Serials[getPlayerSerial()] then guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end)
  9. TAPL

    Button

    Example: function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing ( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end addEventHandler("onClientRender", root, function() local imgX, imgY, imgWidth, imgHeight = 50, 50, 200, 200 buttonHover = isMouseInPosition(imgX, imgY, imgWidth, imgHeight) dxDrawImage(imgX, imgY, imgWidth, imgHeight, buttonHover and "myImage2.png" or "myImage.png", tocolor(255, 255, 255)) end) addEventHandler("onClientClick", root, function(button, state) if button == "left" and state == "down" then if buttonHover then outputChatBox("Button clicked!") end end end)
  10. ما تحتاج تايمر الكود جداً بسيط عبارة عن سطر النافذة و سطر ثاني لأخفاء النافذة myWindow = guiCreateWindow(0.3, 0.3, 0.5, 0.60, "GUI window title", true) -- صنع نافذة guiSetVisible(myWindow, false) -- اخفاء النافذة بعد صنعها مباشرة -- myWindow اسم متغير النافذة و الكود كلينت طبعاً
  11. اول ما تسوي النافذه تكون ظاهره تحتاج تستخدم الفنكشن ذا عشان تخفي النافذة بعد ما تسوي النافذه مباشرة guiSetVisible
  12. TAPL

    Button

    'isMouseInPosition' 'onClientClick' 'onClientCharacter' dxDrawImage dxDrawRectangle dxDrawText
  13. vmdkmvcdjakvnqjk > qnroiqwrqifjio > TAPL.
  14. I asked them on Jan 17, 2015:
  15. TAPL

    fixed

    @XeoN, you shouldn't make loop at event onPlayerSpawn, use source instead.
  16. توك حاط الموضوع و ما شاء الله مستعجل على الرد؟ المهم تعرف تشرح المود الي تبيه؟ ولا زي البعض الي جاء لي يقول سوي لي مهمة نو تيم و شرطة يخشون يغرفة و انتهى الشرح
  17. He's not Arabian, obviously. He compile his scripts for reason, but still you can contact him at his facebook and try your luck. https://www.facebook.com/LuisJavierJosep
  18. removeElementData
  19. ^ 1- 2- الفنكشن يتطلب ارقمنت واحد و الهدف منه يجيب مجموع اللاعبين الي في البحر ايش علاقة ذي الأشياء؟
  20. TAPL

    House robbery

    percentage is nil, it should be a number.
  21. اوبن آيد تقفل .._..
  22. TAPL

    Aim Problem!!

    Click on it and try to read.
  23. TAPL

    Aim Problem!!

    setWeaponProperty -- accuracy
×
×
  • Create New...