Mathias Lui Posted July 17, 2016 Share Posted July 17, 2016 Hi, i created a train, which drives along the tracks, but when I try to get in, it respawns, and I don't want players to get into this vehicle. Also the train only spawns, or drives, when in draw distance, so when I leave, get back, the train continues driving. But only when it is in somebodys draw distance. How can I change that? Link to comment
Mathias Lui Posted July 17, 2016 Author Share Posted July 17, 2016 Make it Server Side. It is. Here's the meta.xml: Link to comment
Captain Cody Posted July 17, 2016 Share Posted July 17, 2016 When the train is spawned, trigger a client side event setElementStreamable(false), and add a check point on the track (Or set a timer) that will set it not streamable everytime it triggers for new players. Basicly what this does, is prevent the train from streaming out, fixing your issue. 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