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

Disable vehical seat and use keydown varible to drive car?

Asked by 6 years ago

You know in jailbreak how it has a surface gui pop up when your about to enter a car press E to enter car? I would like to know if its a easy process to do, before I do research I seen it on rowiki but it was for Xbox controller. Do you know on wiki were it shows you how to do it?

2 answers

Log in to vote
-1
Answered by 6 years ago
Edited 6 years ago

Here is a simple script outline

The Button E is pressed
    if the player is near a car seat
        sit the player in the car and let them drive
Ad
Log in to vote
0
Answered by 6 years ago

Well from what I can assume it's not easy, however not as hard as saving your progress. (From what I know. It could be more or less harder to create.)

I don't where to get the code from however...

As I was saying, all you need to do is:

  1. When player gets close to car create gui
  2. If they press E then tp them to seat
  3. Enable them to drive the car.

So it will take some work, but if you know how to do it or think that you could learn how to do it then it shouldn't be insanely hard to create.

Sorry for insufficient info.

0
Hey you just gave me an idea. What if i make like a trigger system anf attach it to the car, then when the player steps on it a gui pops up saying enter car when you press enter it teleports you to the seat which is a teleport brick. Thanks for helpinh me, that reall,gave me a good idea. Carforlife1 59 — 6y

Answer this question