AddStaticVehicle
#7

Quote:
Originally Posted by dani18
Посмотреть сообщение
To create a vehicle with 'AddStaticVehicle' you should know that it is saved with '/ save' inside the server.
The use of /save is irrelevant to which function to use. That command just saves your coordinates and you could then use them in CreateVehicle if you wanted to.

I was once told that static vehicles have their models pre-loaded to game clients for faster loading as players are driving around. I have never verified this but it would make sense as why else would there be a separate function?

Also CreateVehicle cannot be used to add trains, and AddStaticVehicle cannot be used after server startup (OnGameModeInit).
Reply


Messages In This Thread
AddStaticVehicle - by Osamakurdi - 15.01.2018, 15:56
Re: AddStaticVehicle - by Dayrion - 15.01.2018, 16:04
Re: AddStaticVehicle - by Osamakurdi - 15.01.2018, 16:18
Re: AddStaticVehicle - by dani18 - 15.01.2018, 16:36
Re: AddStaticVehicle - by Osamakurdi - 15.01.2018, 16:39
Re: AddStaticVehicle - by dani18 - 15.01.2018, 16:42
Re: AddStaticVehicle - by MP2 - 17.01.2018, 07:45

Forum Jump:


Users browsing this thread: 5 Guest(s)