ميدوح

Members
  • Content Count

    217
  • Joined

  • Last visited

Community Reputation

30 Good

About ميدوح

  • Rank
    Trick
  • Birthday 11/07/1991

Recent Profile Visitors

2,638 profile views
  1. ميدوح

    >>>>> الموضوع العام <<<<<

    0:36 hhhhhhhhhhhhhhhh @Rakan# @ميدوح
  2. السلام عليكم ورحمة الله وبركاته dxDrawMaterial3D syntax dxDrawMaterial3D(x,y,z,w,h,Material,images,...) Material : "Sphere" see video by medo7 "Box" see video by Ren712 "Triangle" Source Code: local images = dxCreateTexture(""); function dxDrawMaterial3D(x,y,z,w,h,Material,images,...) if Material == "Sphere" then local segAngle , radius = 360 / 30 , 0.5 ; local fX, fY, tX, tY; for i = 1, 360 do fX = x + math.cos( math.rad( segAngle * i ) ) * radius ; fY = y + math.sin( math.rad( segAngle * i ) ) * radius ; tX = x + math.cos( math.rad( segAngle * (i+7) ) ) * radius ; tY = y + math.sin( math.rad( segAngle * (i+7) ) ) * radius ; end w,h = 1 ; return dxDrawMaterialLine3D(fX, fY, z+h, tX, tY, z+h, images,w,tocolor(0,0,0,100),false) or "Sphere" ; elseif Material == "Box" then local w2,h2 = math.floor(4* math.sin( h+ math.rad(100) ) ) ; return dxDrawMaterialLine3D(x,y,z, w2, h2, z, images, h,tocolor(0,0,0,100),false) or "Box" ; elseif Material == "Triangle" then t3 = 360/3 ; tX2 = x + math.cos( math.rad( t3 * (h+1) ) ) / w ; tY2 = y + math.sin( math.rad( t3 * (h+1) ) ) / w ; tZ2 = z + math.tan( math.rad( t3 * (h+1) ) ) / w ; return dxDrawMaterialLine3D(x,y,z, tX2, tY2, tZ2, images, h,tocolor(0,0,0,100),false) or "Triangle" ; end end Example addEventHandler("onClientPreRender", root, function() dxDrawMaterial3D(0,0,5,5,5,"Sphere","logo.png") end)
  3. ميدوح

    مساعده في كبيورد

    مسار : لوحة التحكم/خصائص الماوس وبعد المؤشرات
  4. السلام عليكم ورحمة الله وبركاته guiSwitch Client-only function Syntax: element guiSwitch ( float x, float y, bool relative, [ element parent = nil ] ) Source Code: function guiSwitch(x,y,bool,parent) local gridlist = guiCreateGridList(x,y, 70, 33,false,parent) local label = guiCreateLabel(0,0, 38, 30,"O", false,gridlist) guiSetFont(label, "default-small") guiSetProperty(label, "BackgroundEnabled", "True") guiSetProperty(label, "FrameEnabled", "True") guiLabelSetHorizontalAlign(label, "center", false) guiLabelSetVerticalAlign(label, "center") guiLabelSetColor(label, 255, 0, 0) addEventHandler("onClientGUIFocus", label, function() if (bool) then bool = true guiSetPosition ( label, 30, 0, false ) guiLabelSetColor(label, 0, 255, 0) guiSetText(label, "|" ) else bool = false guiSetPosition (label, 1, 0, false ) guiLabelSetColor(label, 255, 0, 0) guiSetText(label, "O" ) end end) addEventHandler("onClientGUIBlur",label,function() bool = true end,true) addEventHandler("onClientGUIBlur",label,function() bool = false end,false) end Example: addEventHandler ( "onClientResourceStart",root, function () local myWindow = guiCreateWindow ( 0, 0.3, 0.2, 0.1, "Window", true ) guiCreateLabel(0.1,0.3, 38, 30,"showChat", true,myWindow) Switch = guiSwitch(180, 20,true,myWindow) -- new element GUI end) addEventHandler("onClientGUIClick",root, function () if ( not Switch == true and isChatVisible ) then showChat(false) isChatVisible = false else showChat(true) isChatVisible = true end end )
  5. ميدوح

    أضافة صوت زمور للشرطة

    مممم.. local playerPosition = Vector3( getElementPosition( localPlayer ) ) local theVehicle = createVehicle( 411, playerPosition ) addEventHandler("onClientVehicleEnter", theVehicle, function () local theVehicle2 = getPedOccupiedVehicle(localPlayer) if theVehicle2 then playSFX3D( "script","Police", 1, playerPosition, true) end end)
  6. يعطيك العافيه رسلت لك بالخاص

  7. ميدوح

    - txd , dff

    https://wiki.multitheftauto.com/wiki/IDE_List ID: DFF Name: TXD Name: 3060 para_collision paracx
  8. ميدوح

    [Release]thisdp's Dx GUI System

    😃 !! dgs\test.lua function mediaTest() local media = dgsCreateMedia(600,600) --local image = dgsCreateImage(200,100,400,400,media,false) dgsMediaLoadMedia(media,"liquicity.mp4","VIDEO") end addCommandHandler("mediaTest", mediaTest)
  9. ميدوح

    [Release]thisdp's Dx GUI System

    ERROR: dgs\test.lua:151: attempt to call global 'dgsCreateMedia' (a nil value)
  10. ميدوح

    [HELP] Equalizer on Car

    getSoundFFTData
  11. ميدوح

    .:[ موضوع عام فيروسات فالمنتدى 🔧 ]:.

    my 💻 , 📱 , 🎧
  12. ميدوح

    [HELP] HLSL Shader

    https://community.multitheftauto.com/?p=resources&amp;s=details&amp;id=15708 -Animated infernus
  13. ميدوح

    [HELP] HLSL Shader

    ty 1- https://community.multitheftauto.com/index.php?p=resources&amp;s=details&amp;id=12840 2- https://community.multitheftauto.com/index.php?p=resources&amp;s=details&amp;id=12428
  14. ميدوح

    playSound3d - تحقق من رابط الصوت

    addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then -- button click start local link = guiGetText(GUIEditor.edit[1]) x, y, z = getElementPosition ( localPlayer ) sound = playSound3D(link, x, y, z+1) setSoundMaxDistance(sound, 25) setSoundVolume(sound, 20.0) outputChatBox("يوجد صوت",255,0,0,true) elseif source == GUIEditor.button[2] then -- button click stop if ( sound == false ) then return end outputChatBox("لا يوجد صوت",255,0,0,true) destroyElement ( sound ) end end )