Jump to content

MilesFox92

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by MilesFox92

  1. Is there any "Random" function to make these either happen or not happen?
  2. Hello. I want to block some roads with barriers and make it so that every added barrier has a chance to not spawn on the map start (so, for example, Doherty could be absolutely blocked with the barriers at first map load, and after reloading it only have a single barrier be present). How do I code that properly? Thanks in advance.
  3. Oh, and one last question - how do I stop the music (destroy it's element I suppose) if after collecting next checkpoint player gets something, that is not a truck anymore? I've been trying to code this in different ways, but can't seem to succeed
  4. Got it. HUUUUGE thanks for detailed answers and your help overall!
  5. That's way more optimized, than the way I've tried to do it, thanks! Also, I have a problems with making attached sound be heard by everyone. I only managed to make it either play for every player at once, or just for the truck player. What's the correct way of playing the 3D sound and attaching it to the certain player? I'm really inexperienced with client-sided scripts yet ? Oh, and what do "checkpoint, timePassed" in fuction's brackets do? I couldn't find any info on that, but saw things like these in many scripts, even though all the mini-scripts I wrote were working with just "()" near function
  6. Hello everyone. I've made a race map that gives a player random vehicle each time he gets to a checkpoint, and I am trying to create a script, that makes custom music play near certain player (it should also be heard by other players when near), if he gets Truck after collecting the checkpoint. And I can't seem to make music play only near the player with truck. How do I getElementPosition of the player, who got the truck?
  7. Is there any possible way to edit the map in "Live Mode" while it's running on my server and my friends play on it? Sometimes I want to add some objects and don't want to do any restarts/refreshes to save some time
  8. So, I've remembered playing on some server long time ago, and it had race mode, where each checkpoint you get random vehicle. Is there any resource for that?
  9. Is there any way to add car, instead of replacing standard ones? (P.S. I have no skills in Lua scripting)
  10. Whenever I place explosive barrels (barrel4) or Gas Pump they start moving/rolling/exploding after I press Ctrl+LMB. Any way to fix that? (I know that they are not doing that when I copy them via pressing "C", but sometimes its easier for em to place them using mouse and LMB)
  11. Okay, thanks for answer ?
  12. Is it possible/allowed to use trainer on my own local server? Sometimes me and friends need godmode or some other things from trainers, but I am aware of getting global-banned, so I want to know if it is restricted to use trainer anywhere
  13. Is there any way to enable collisions with cars (That were created with Map Editor and are part of the map) in the race gamemode? I mean, the ordinary collisions like in other gamemodes, and not just some kind of tank mode for those cars. P.S. I know almost nothing about Lua scripting.
  14. MilesFox92

    Map Editor

    By "Wheels only" I've meant that the car won't have any upgrades, except the off road wheels
  15. MilesFox92

    Map Editor

    Hello everyone. I have a question. Is it possible, to add tuning preset to the specific race maps? As example, I've made some off-road race map, and I want cars to spawn with off-road wheels, and nothing else.
×
×
  • Create New...