SA-MP Forums Archive
[HELP] Train and streetcar on SA:MP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Train and streetcar on SA:MP (/showthread.php?tid=639191)



[HELP] Train and streetcar on SA:MP - spyro9696 - 12.08.2017

Hello, I wanted to spawn a train and a streetcar on traks on my sa:mp server.
I want to do this without a command, but in a precise place when my server starts (automatically).
How is it possible??


Re: [HELP] Train and streetcar on SA:MP - pabloalber84ban - 12.08.2017

https://sampwiki.blast.hk/wiki/AddStaticVehicleEx

The train only can be spawned in rails (No precision required, the train auto adjust to rails).


Re: [HELP] Train and streetcar on SA:MP - spyro9696 - 12.08.2017

Ok, so is it enough to write only the model?


Re: [HELP] Train and streetcar on SA:MP - pabloalber84ban - 12.08.2017

Quote:
Originally Posted by spyro9696
Посмотреть сообщение
Ok, so is it enough to write only the model?
Be more specific


Re: [HELP] Train and streetcar on SA:MP - spyro9696 - 12.08.2017

If the train can be only spawned on rails, it is enough to write only the number of the model on the params?


Re: [HELP] Train and streetcar on SA:MP - pabloalber84ban - 12.08.2017

Quote:
Originally Posted by spyro9696
Посмотреть сообщение
If the train can be only spawned on rails, it is enough to write only the number of the model on the params?
No, need the spawn pos and angle from the near of the rail, the color and the respawn delay (If you use AddStaticVehicleEx)


Re: [HELP] Train and streetcar on SA:MP - spyro9696 - 13.08.2017

Ok, i will try.


Re: [HELP] Train and streetcar on SA:MP - spyro9696 - 13.08.2017

I want to attach also the trailers to the train. Is it possible?


Re: [HELP] Train and streetcar on SA:MP - pabloalber84ban - 13.08.2017

Quote:
Originally Posted by spyro9696
Посмотреть сообщение
I want to attach also the trailers to the train. Is it possible?
https://sampwiki.blast.hk/wiki/AttachTrailerToVehicle