Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a gas powered chassis?

Asked by 3 years ago

Hello, my name is HissingSoldier. I own a police roleplay community, for my next update I was going to try and add a gas powered chassis to all of my current vehicles. Although I cannot find a tutorial for this, if you could help me out that would be greatly appreciated.

 - HissingSoldier
0
Not sure what you want from us. A "gas powered chassis" isnt exacly a universially identified coding term. Benbebop 1049 — 3y
0
I want a Chassis or a script that I can put in my Chassis to make them so that the cars run off of gas and if they run out the car will stop. HissingSoldier 0 — 3y
0
Don't know much about what a chassis is, but first things first your going to need to create a value for the gass. emervise 123 — 3y
0
Create a gas variable and subtract every second by one. Then make the car only able to be driven when the gas variable is more than 0 (set the max speed to 0 if the gas is 0, and back to normal when it's not) WoTrox 345 — 3y
0
Are the vehicles coded by you? If not we can’t help much. Benbebop 1049 — 3y

Answer this question