SA-MP Forums Archive
Help with a tram - 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 with a tram (/showthread.php?tid=331142)



Help with a tram - Dripac - 03.04.2012

// fixed


Re: Help with a tram - ViniBorn - 03.04.2012

Try this with GetVehicleModel


Re: Help with a tram - Dripac - 03.04.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Try this with GetVehicleModel
Still doesn't work


Re: Help with a tram - SpiritEvil - 03.04.2012

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

Код:
Important Note: Trains can only be added with AddStaticVehicle and AddStaticVehicleEx.
I guess trams are considered as trains too.

Maybe that can solve your problem....


Re: Help with a tram - Dripac - 03.04.2012

Quote:
Originally Posted by SpiritEvil
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreateVehicle

Код:
Important Note: Trains can only be added with AddStaticVehicle and AddStaticVehicleEx.
I guess trams are considered as trains too.

Maybe that can solve your problem....
but i added them with CreateVehicle, they're in-game xD

but anyway i fixed the problem.


Re: Help with a tram - ViniBorn - 03.04.2012

What was the problem?


Re: Help with a tram - Dripac - 03.04.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
What was the problem?
I don't know how to explain it to you.


Re: Help with a tram - SpiritEvil - 03.04.2012

Quote:
Originally Posted by Dripac
Посмотреть сообщение
but i added them with CreateVehicle, they're in-game xD

but anyway i fixed the problem.
Well, since you said the method was working with the rest of vehicles but trains I thought this might have caused the problem. Anyway, I'm glad you solved the problem