Jump to content

Recommended Posts

Posted (edited)

Hey,
I am fairly new to this there are a ton of things and very little information out there so i hope to get a few answers to my questions
Currently i am using JavaScript for client side and server side on a windows Hosted machine. Yes i know Linux and C# for client side are more efficient but that's what i went with to start learning 

1)  A script that lock/unlocks a car and turns it's engine on and off with different buttons on the keyboard

 

2) How to set up a fuel script so that if a vehicle runs out of fuel it's engine shits off

2.1) I am also trying to figure out how to setup a fuel station script that way a player can refuel at a gas station. 

 

3) and lastly a cruise control script that caps a vehicles speed at the selected speed which is selected by a command and activated by a button press
 


How would i go about this?
And would it be client side or server side?

Any help is very appreciated and thanks all!

Edited by Sirmittens

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...