SA-MP Forums Archive
Boost Speed (SetVehicleVelocity doesn't work on trains?!) - 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: Boost Speed (SetVehicleVelocity doesn't work on trains?!) (/showthread.php?tid=100674)



Boost Speed (SetVehicleVelocity doesn't work on trains?!) - Pho3niXx - 05.10.2009

Hello,

I tested with a mate to put a "Nitro" on a train, but it's not working. Is it normal?

(It's working on other vehicles perfectly, but on trains it seems that we can't change his velocity).

I posted it as a Bug but my post was removed. To me SetVehicleVelocity should work on all vehicles, even trains


Re: Boost Speed (SetVehicleVelocity doesn't work on trains?!) - Guedes747 - 05.10.2009

i tihink trains wont handle boost too well lol :\


Re: Boost Speed (SetVehicleVelocity doesn't work on trains?!) - Joe Staff - 05.10.2009

Trains aren't really vehicles by San Andreas' standards. They lie in a class on their own. They have tracks meaning the can't steer and are forced on them meaning they can't be teleported or changed. If Kye was forced to find a way to make trains' speed controllable he'd have to find a different value address and offset separate from standard vehicles.
In short, trains be straight trippin' home skillet.


Re: Boost Speed (SetVehicleVelocity doesn't work on trains?!) - dugi - 05.10.2009

It's not a bug, its supposed to be like that.