23.10.2012, 18:01
Use AddStaticVehicle
hmm interesting i just looked at the wiki topic about it AddStaticVehicle
And it does say "This function can only create vehicles in the OnGameModeInit and the OnFilterScriptInit callback"
I have always been able to spawn trains and any vehicle with AddStaticVehicle during runtime.
Edit: When i get back later i will have to add a train during start up once just to see if the chat warning still exists.
hmm interesting i just looked at the wiki topic about it AddStaticVehicle
And it does say "This function can only create vehicles in the OnGameModeInit and the OnFilterScriptInit callback"
I have always been able to spawn trains and any vehicle with AddStaticVehicle during runtime.
Edit: When i get back later i will have to add a train during start up once just to see if the chat warning still exists.