Jump to content

Tails

Members
  • Posts

    740
  • Joined

  • Days Won

    16

Everything posted by Tails

  1. Tails

    TCT: TerrainEditor

    Looks absolutely amazing! Never thought anything like this would be possible at all. Is this all done through scripting only?
  2. That function looks pretty complicated. But glad to have helped you out.
  3. It may not work if you spawn or teleport inside the zone. If that case you should add IsElementWithinColShape to it.
  4. The vehicles are in a .map file. How would I use it client-side if onVehicleRespawn is a server-side event?
  5. 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)
  6. It can be any name you want. If you're interested in mapping then you I suggest you try the official map editor.
  7. 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
  8. Tails

    TCT: TerrainEditor

    Any updates, TEDERIs? I'm interested in how you did the texturing as shown in the video. Do you plan on releasing that tool?
  9. 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
  10. 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.
  11. Tails

    GUI Tooltips

    Oh my bad, I meant the tooltip resource from the official map editor. Do you know how to use that one?
  12. Tails

    GUI Tooltips

    How do you use it?
  13. Tails

    GUI Tooltips

    Yeah don't worry it's all clientside. Thank you, Necktrox.
  14. Tails

    GUI Tooltips

    No worries. Could you give me an example? I mean how do I use for it only one specific GUI? Not all of them.
  15. Tails

    GUI Tooltips

    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.
  16. Tails

    GUI Tooltips

    Guess I'll have to do that then! Thanks!
  17. Tails

    GUI Tooltips

    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
  18. Yeah, I guess so. I don't think I have ever deleted an object with smoke.
  19. Tails

    firefighter

    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.
  20. 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.
  21. Tails

    firefighter

    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
  22. Tails

    Hud Windows 8

    Looks good. I like it
  23. Press E, your mouse will turn red. It will help you select hard-to-select-objects such as the ones in the images.
×
×
  • Create New...