Search the Community

Showing results for tags '3d'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 21 results

  1. Selam. MTA sunucuları basite indirgenmiş "Araç,Karakter,Silah,Blip (Haritada Simge),Kodlu Kapı,3D Ses" oluşturucu programımı bitirip sizlerle paylaşmak istedim. Klasörleri programın çalıştığı dizine oluşturur. Araç ve Silah ID'leri isimleri ile beraber sizin için hazır olarak ComboBox'a eklenmiştir. Programa dair görüntüler; VirusTotal: https://www.virustotal.com/#/file/ab64043693b44cec50caa1358bc7b6fe279758f5962b08cbded351fb706a1d5a/detection Link: http://link.tl/1jzJ9 Programın sorunlarını ve eksik bulduğunuz kısımları bildirirseniz mutlu olurum.
  2. I was bored and long time without do any script so I started looking in the wiki some functions what I not used yet and I found dxDrawMaterialLine3D. You have a video and code about a scoreboard what I made for test this function. Maybe this can be useful for you ( take scrollbar, etc ). Client-Side code:
  3. I just made a character customization system in MTA with 3D GUI.
  4. I made a 3D GUI System in MTA:SA. You can place 3D GUI Elements (Buttons, Textboxes, Labels, Lists, Checkboxes, Sliders, etc.) wherever you want. It's not public yet.
  5. local redcircle = dxCreateTexture("teszt.png") addEventHandler("onClientRender", root, function() dxDrawMaterialLine3D(-1989.73804, 214.91431, 50,-1989.73804, 214.91431,43.1096496582031, redcircle, 6, tocolor(255,255,255),0,5,6) end) I change numbers, but i cannot rotate the image... how to rotate the image? sorry for my bad english..
  6. function createBackFire(theVeh, scx, scy, scz) local fireChords={} local dist = 0.04 for i = 1, 6 do local x, y, z = getPositionFromElementOffset(theVeh,scx,scy-dist,scz) fireChords[i]= {pX = x, pY = y, pZ = z} dist = dist + 0.2 end local x,y,z = getPositionFromElementOffset(theVeh,scx,scy,scz) local x2,y2,z2 = getPositionFromElementOffset(theVeh,scx,0,scz) local v1, v2, v3 = getVectors(x,y,z, x2,y2,z2) for i, val in ipairs(fireChords) do fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2,v3, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1+1.5,v2,v3, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1-1.5,v2,v3, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2,v3-0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2+1,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2+2,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2+10,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2-10,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2-2,v3+0.8, true) fxAddGunshot(val.pX,val.pY,val.pZ, v1,v2-1,v3+0.8, true) end local s = playSound3D("sound/backfire2.wav", x,y,z, false) setSoundMaxDistance( s, 80 ) setSoundVolume(s, 0.5) I want the code to repeat itself randomly
  7. function noRadio() setRadioChannel(0) addEventHandler('onClientPlayerRadioSwitch', getRootElement(), function() cancelEvent() end ) end function off() stopSound(sound) noRadio() play1() end addEvent( "off", true ) addEventHandler( "off", localPlayer, play ) function play1() noRadio() stopSound(sound) outputChatBox("Radio 1!!" ) local vehicle = getPedOccupiedVehicle(getLocalPlayer( )) local x,y,z = getElementPosition( vehicle ) sound = playSound3D( "http://us3.internet-radio.com:8313/listen.pls", x, y, z) setSoundMaxDistance( sound,50 ) attachElements ( sound, vehicle) end addEvent( "r1", true ) addEventHandler( "r1", localPlayer, play1 ) function play2() noRadio() stopSound(sound) outputChatBox("Radio 2" ) local vehicle = getPedOccupiedVehicle(getLocalPlayer( )) local x,y,z = getElementPosition( vehicle ) sound = playSound3D( "http://188.40.32.140:8061/listen.pls", x, y, z) setSoundMaxDistance( sound,50 ) attachElements ( sound, vehicle) end addEvent( "r2", true ) addEventHandler( "r2", localPlayer, play2 ) function play3() noRadio() stopSound(sound) outputChatBox("Radio 3") local vehicle = getPedOccupiedVehicle(getLocalPlayer( )) local x,y,z = getElementPosition( vehicle ) sound = playSound3D( "http://uk7.internet-radio.com:8040/listen.pls", x, y, z) setSoundMaxDistance( sound,50 ) attachElements ( sound, vehicle) end addEvent( "r3", true ) addEventHandler( "r3", localPlayer, play3 ) function play4() noRadio() stopSound(sound) outputChatBox("Radio 4!!" ) local vehicle = getPedOccupiedVehicle(getLocalPlayer( )) local x,y,z = getElementPosition( vehicle ) sound = playSound3D( "http://83.142.226.45:25700/listen.pls", x, y, z) setSoundMaxDistance( sound,50 ) attachElements ( sound, vehicle) end addEvent( "r4", true ) addEventHandler( "r4", localPlayer, play4 ) how can i stop sound only for me without stopping others sound?? like when i switch radio station it stops "sound" which stops everyones
  8. client: function rtwjhrt() if isElement(ss) then stopSound(ss) return end local car = getPedOccupiedVehicle ( localPlayer ) local gettext = guiGetText ( GUIEditor.edit[1] ) local x, y, z = getElementPosition( car ) local ss = playSound3D( 'asd.mp3', x, y, z ) setSoundMaxDistance( ss, 85 ) attachElements(ss,car) end addEvent("asd123asd456",true) addEventHandler("asd123asd456",root,rtwjhrt) server: function trig() triggerClientEvent(root,"asd123asd456",root) end addEvent( "asjdlaj", true ) addEventHandler( "asjdlaj", root, trig ) Why not hear the sound another players?
  9. I want create a dxdraw rectangle and text on the map. But how to make this possible?
  10. Can someone help me? DOWNLOAD SCAN
  11. I want create a script, which creates a 3d text with a cmd. For example, when i type "/word asd" then this make a 3d text the player position "#playername : asd", then after elapse 3 hours, the text will hide. How to make this?
  12. After I finished the first version of my character customization system i just realized its such a piece of crap, so i started writing a new version with a whole new concept. The first version worked with CJ skin and i just attached some custom head models to it. Conversely the new version is running with shaders and the skin is a custom dff. Here is a video of the head customization. The clothing is in progress yet, it takes a lot of time because i have to make custom cloth models. Hope you like it. Please don't ask for the source code, this script will never be released. Sorry.
  13. Hello, good afternoon, I would like to know how I can correct this error, which is quite annoying, because when the mta is playing or playing, the message of Direct3D Reset device error appears. which closes the game in full game. https://pastebin.mtasa.com/391451704
  14. KWKSND

    KWK 3D Radio

    After years away from scripting I was craving to get back into Multi Theft Auto. I always thought it would have been cool if the cars radios were 3D so you could hear them as they drive by. After looking at the new features in MTA I noticed its now possible to have 3D radio. Then I found out the files aren't exactly listenable and needed to be scripted back together so here 4000 lines later I present to you KWK3DRadio This resource makes the car radio 3D so other players hear the music in your vehicle and you hear theirs. This resource uses every audio file in GTASA and patches them back together into realistic sounding random stations with dj babble, station ids and more. If your server runs a weather changing script then the dj might mention incoming weather. There is stuff you haven't heard since you played the game in single player It adds a few stations from the web as well !! Warning you must have the original sound files installed with the game for this resource to work properly. Keys: Press < or > to switch stations. Press ? for next/random track(GTA stations only). Press M to change SFX modes. Scroll Wheel or Press +/- for volume. Commands: Type /radio - for help. Type /radio all - for all stations plus extras. Type /radio gta - for only gta stations. Type /radio stations - for stations with no extras. Type /radio web - for only web stations. Type /radio fav - to favorite the current station. Type /radio unfav - to clear the favorite setting. Type /radio display - to toggle display off and on. Type /radio <url> - to use your own url. Type /headphones - for client side portable radio. click below to download or join KWKSRV in your MTA server browser to try it. https://community.multitheftauto.com/index.php?p=resources&s=details&id=12703
  15. Una consulta chicos como hago para que este local sounds sea infinito ya que cuando activo esta script solo se reproduce una vez y luego se corta.. function onResourceStart() local Zx,Zy,Zz = getElementPosition( ped ) --- Puede ser que halla un mal argumento aquí? porque el debugscript 3 me dice que sí!!!... local sound = playSound("sounds/respiracion.ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
  16. local image = dxCreateTexture( "tesztkep.jpg" ) local white = tocolor(255,255,255,255) addEventHandler("onClientRender", root,function() dxDrawMaterialLine3D( 2463.71143, -1658.97595, 15.31024,2463.55469, -1651.24609, 15.47028,image,7,white ) end) this is my code, and this is the problem: how to fix this rotation problem?
  17. Hello! I'm currently working on a 3D Login Panel, and the edges are so rough. What i'm thinking about is there any way to smooth out the edges of the 3d panel?
  18. I want a 3D video player, what play the .mp4, like "playSound3D". how to create this?
  19. Estaba aburrido y llevaba bastante tiempo sin scriptear así que me puse a buscar por la wiki funciones que nunca usé y encontré dxDrawMaterialLine3D. Aquí os dejo un vídeo y el código de un scoreboard simple que he hecho para probar la función, por si os es útil el tema del scroll y lo que podáis encontrar. Código Client-Side:
  20. Hi. So I'm a 3D gamer, but I've encountered a problem. Whenever I want to play in 3D, using IZ3D drivers in MTA, it crashes me out. However vanila version of GTA SA is completely fine and therefore very enjoyable. Is there any possibility to make IZ3D compatible with MTA? Lemme know, please!
  21. Construction Kit #1 Post-Apocalyptic Settings Hey there. So - I recently began modelling (a few weeks now) - and I do have dreams of one day becoming an actual level designer. But for the time being, I'd like to assist the rest of the MTA community in creating some sweet levels, and designs. Here I present you my first of many construction kits. This one is based off of an underground tunnel system. Think something alike Fallout 3 - Vault 101. The kits will be released once I complete them. Please note that the textures applied on the screenshots, not are the end result. If you wish to have your own models added to the kit, please add me on skype: Ameffe1 Note: The objects are all done as low poly as possible, in order for it to fit GTA:SA. They will look better ingame. Please give your five cents - all tips and ideas are appreciated! Also - when the end result is released, you'll have full non-commercial rights to use my models and textures.