SA-MP Forums Archive
Attaching trams - 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: Attaching trams (/showthread.php?tid=304210)



Attaching trams - k3nw00d_kri5ty - 17.12.2011

Hi, it's possible to attach 2 trams?


Re: Attaching trams - Neo Karls - 17.12.2011

try AttachObjectToVehicle

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


Re: Attaching trams - k3nw00d_kri5ty - 17.12.2011

NOT OBJECT, only tram !


Re: Attaching trams - Babul - 17.12.2011

no, railed vehicles act different. they get sticked onto the closest rail position always, so if there is a tram attached to another for even 1 millisecond, the game logic avoids it to be attached any longer. didnt test that recently, but i dont see how that changed..