Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Am I the only one who expects a topic about double rainbows with a title like this? Anyway, I haven't seen this before. Isn't it from the script itself?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Trains are only meant to be created at startup. I'm curious as to how you got to creating a train at runtime. It should give a warning or error in the console.
Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
Hi all,
i don't use train into my server, and no it isn't into my script, those message are samp message.
Like "exeption on player ID ...."
Max
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
You can spawn trains (and other vehicles) at any time with AddStaticVehicle and AddStaticVehicleEx, unlike the Wiki states. You can also destroy those vehicles again with DestroyVehicle, if I remember correctly. (I need to check that though, to be sure.)
The error might be caused if you try to delete static vehicles which still have players in/on them, or you just can't delete trains, or both.
I get this error when this happens:
1. A train NPC driver starts far away from you
2. As soon as the NPC driver enters your stream range, he will - obviously - sync with you now.
3. Due to some bug (?) in attached vehicles, the "passenger" part of the train does not remain attached to the vehicle. At the edge of your streaming range, it will remain there stationary.
4. When the actual train, NPC driven, leaves your streaming area, I get this error.