pach Posted September 3, 2013 Share Posted September 3, 2013 Report: the current version is not working for anything related to repair&refuel scripts. It's impossible to repair or refuel both choppers and ground vehicles. Temporary ingame fix: crash vehicles (if they respawn) Story: "As driver, I would like to be able to refuel my vehicles, despite the price of the fuel" Link to comment Share on other sites More sharing options...
Jester Posted September 3, 2013 Share Posted September 3, 2013 wait, which repair pads do not work? I tested this last night before I put it live and they all worked, even the off base ones. Link to comment Share on other sites More sharing options...
galzohar Posted September 3, 2013 Share Posted September 3, 2013 If you want help I can explain what I ended up doing with my script. It is fairly simple, and not 100% reliable (though should be 99.9%), but it works without causing discrepancy between clients or client/server. In short, it seems you have to run the setDamage, setFuel etc commands on the machine where the vehicle is local, and since you don't know where the vehicle is local, you have to broadcast the event to all machines so everyone can check if it's local for them or not, and only execute it if the vehicle is local. Trying to just execute it on all machines (which is what some scripts do, maybe yours too) will cause issues. Link to comment Share on other sites More sharing options...
pach Posted September 4, 2013 Author Share Posted September 4, 2013 @Jester indeed. It seems it crashed during that game only. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now