Trust aka Tiffergan Posted November 3, 2020 Share Posted November 3, 2020 Hello i have train script but so far i have only train and this train is driving around map i want to do that when train is on station in LS/LV/SF train stopped and people can enter train on passager and be transported to another city help Link to comment
Trust aka Tiffergan Posted November 3, 2020 Author Share Posted November 3, 2020 Someone something ? Link to comment
Hydra Posted November 4, 2020 Share Posted November 4, 2020 (edited) It may work if you create a colshape, attach to the train, create a marker for each station and use onClientMarkerHit or onMarkerHit depending on whether it is a client or server side and when the train enters the marker to stop, and when someone enters the train use the isElementWithinColShape function to check the players in the colshape and make it move again. I don't test it so i don't know if this will work, it's just an idea I thought of. Edited November 4, 2020 by Hydra Link to comment
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