- 
                Posts742
- 
                Joined
- 
                Days Won16
Everything posted by Tails
- 
	Thanks
- 
	Anyone know how I can rotate the images with dxDrawMaterialLine3D? All my images seem to be tilted by 90 degrees for some reason. Thanks in advance
- 
	Looks great! Can't wait for you to release it
- 
	Looks absolutely amazing! Never thought anything like this would be possible at all. Is this all done through scripting only?
- 
	That function looks pretty complicated. But glad to have helped you out.
- 
	It may not work if you spawn or teleport inside the zone. If that case you should add IsElementWithinColShape to it.
- 
	Thanks a lot
- 
	The vehicles are in a .map file. How would I use it client-side if onVehicleRespawn is a server-side event?
- 
	Hello Ronaldo, The code below will create a smoke effect at the player's position. It only lasts for a couple of seconds but there are plenty of other smoke effects you can choose from that will last until you destroy it. Check out this list: https://wiki.multitheftauto.com/wiki/El ... fects_list https://wiki.multitheftauto.com/wiki/CreateEffect addEventHandler("onClientResourceStart",root, function() local x, y, z = getElementPosition(localPlayer) local effect = createEffect("riot_smoke",x,y,z) end ) This one will follow the player: local x,y,z = getElementPosition(localPlayer) eff = createEffect("riot_smoke",x,y,z,-90,0,0) function render() if not eff then return false end local x,y,z = getElementPosition(localPlayer) setElementPosition(eff,x,y,z) end addEventHandler("onClientRender",root,render)
- 
	It can be any name you want. If you're interested in mapping then you I suggest you try the official map editor.
- 
	Was working on a new map and found that my vehicles fall through the ground upon spawning. Figured I'd use isElementWaitingForGroundToLoad but I'm constantly getting this debug error: "attemp to call global: 'isElementWaitingForGroundToLoad' (a nil value)" I tried everything, even tried using the example code from the wiki page and it's still not working. I'm using MTA ver. 1.4-release-6882
- 
	Any updates, TEDERIs? I'm interested in how you did the texturing as shown in the video. Do you plan on releasing that tool?
- 
	Yes, you have to create a new text file for each of them and save them accordingly. If you're just getting started, I highly recommend you to check out the official MTA Wiki. It will explain you how to set up a new resource and how .xml files work. https://wiki.multitheftauto.com/wiki/Sc ... troduction https://wiki.multitheftauto.com/wiki/Main_Page
- 
	I love it! A few things though, I noticed that Volumetric Shadows stop working with this shader enabled and moving textures on objects like waterfalls stop working.
- 
	Oh my bad, I meant the tooltip resource from the official map editor. Do you know how to use that one?
- 
	Yeah don't worry it's all clientside. Thank you, Necktrox.
- 
	No worries. Could you give me an example? I mean how do I use for it only one specific GUI? Not all of them.
- 
	I there any way I could use https://wiki.multitheftauto.com/wiki/OnClientMouseEnter instead? I need it to popup on mouse over not on input focus.
- 
	Guess I'll have to do that then! Thanks!
- 
	Hey it's me again Is there any way I could enable tooltips for my checkboxes or on any other part of my GUI? I tried: guiSetProperty(mycheckbox, "Tooltip", "test") but unfortunately that didn't work. Any ideas? Thanks in advance
- 
	Yeah, I guess so. I don't think I have ever deleted an object with smoke.
- 
	No probs. I'll look into creating a new function for extinguishable fires like that. I'll let you know about it if I can get it to work.
- 
	I understood you very well. You didn't understand us when we told you can only replace vehicle models and not add or change ID's. There is currently no way to do that in MTA. Using the script is your best shot. If you want to change the handling use setModelHandling() as lcd1232 suggested.
- 
	Make the object invisible, and make a fire with createEffect near the object. Then destroy the effect when you hit the object. It could work but there are many ways to do this I'm sure

 
        