veers

createMissionTrain crash

Recommended Posts

5 минут назад, veers сказал:

But why works only with mp.game.invoke?

Because createMissionTrain returns train handle, but setTrainSpeed is a vehicle object method.

Share this post


Link to post
Share on other sites

Did you try to remove train (trains) from map after spawn? Because they will run on routes till i close client (reconnect does not help).

something like that:

mp.game.invoke('0xC6E84AA770F311E0');
mp.game.vehicle.deleteMissionTrain(train);

Are these trains are synchronized same as common vehicles?

Share this post


Link to post
Share on other sites

Could anyone do anything useful with createMissionTrain command? I wanted to do train traffic but i don't think that's possible with clientside.

Share this post


Link to post
Share on other sites

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.