Adding this vehicle.... - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Adding this vehicle.... (
/showthread.php?tid=84335)
Adding this vehicle.... -
SiJ - 30.06.2009
Hey,
Is it possible to add and ride this train:
How do I have to add it? AddStaticVehicle? And what is the ID of that train...
P.S. I know it's not a train, but idk it's real name....
Re: Adding this vehicle.... -
Grim_ - 30.06.2009
Check for the ID here:
https://sampwiki.blast.hk/wiki/Category:Vehicle
To add it, put it on the tracks using AddStaticVehicle or CreateVehicle.
https://sampwiki.blast.hk/wiki/AddStaticVehicle
https://sampwiki.blast.hk/wiki/CreateVehicle
But note, to enter the vehicle you need a filterscript. Search for it.
Re: Adding this vehicle.... -
SiJ - 30.06.2009
Can you tell me what's the real name of that vehicle?
EDIT:
This?
Vehicle ID: 538
Vehicle Name: Freight (Train)
Category: Unique Vehicles
Modifications: None
Re: Adding this vehicle.... -
Andom - 30.06.2009
It's a ''Tram'' id 449 i thought, it's only enterable on that track with a special script.
Re: Adding this vehicle.... -
SiJ - 30.06.2009
Quote:
Originally Posted by [NL
WackoX ]
It's a ''Tram'' id 449 i thought, it's only enterable on that track with a special script.
|
So on AddStaticVehicle x y z possitions must be somewhere on track?
Re: Adding this vehicle.... -
Grim_ - 30.06.2009
Yes, or else you won't be able to drive it.
Re: Adding this vehicle.... -
SiJ - 30.06.2009
Thanks for help.. I found FS (
http://forum.sa-mp.com/index.php?topic=29772.0) and I'll try adding it now...
EDIT: It works... Thanks for help again..
Re: Adding this vehicle.... -
Ignas1337 - 30.06.2009
it must not, although it should be closest to the tracks so it gets attached automatically.