SA-MP Forums Archive
increase speed - 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: increase speed (/showthread.php?tid=259649)



increase speed - cruising - 05.06.2011

Is it possible with a script to increase the speed of a vehicle?


Re: increase speed - geerdinho8 - 05.06.2011

Yes and No.
You can't make a vehicle go faster
But you can make yourself in a vehicle go faster.
If i am right.


Re: increase speed - Mauzen - 05.06.2011

With a bit experimenting you can use SetVehicleVelocity with a timer, or in OnPlayerUpdate, to increase a vehicles maximum speed or acceleration. Gave me an idea, maybe ill script something for that now


Re: increase speed - Calgon - 05.06.2011

You can increase the speed of a vehicle, by using SetVehicleVelocity.


Re: increase speed - cruising - 05.06.2011

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
With a bit experimenting you can use SetVehicleVelocity with a timer, or in OnPlayerUpdate, to increase a vehicles maximum speed or acceleration. Gave me an idea, maybe ill script something for that now
If you success i hope you will share to me who gave you the idea (just joking) i dunno how to work with SetVehicleVelocity funktion anyways ...hmm.


Re: increase speed - Mauzen - 05.06.2011

Quote:
Originally Posted by cruising
Посмотреть сообщение
If you success i hope you will share to me who gave you the idea (just joking) i dunno how to work with SetVehicleVelocity funktion anyways ...hmm.
Of course I will
Already started, in basically it works, you can modify a vehicles speed and acceleration.
But in order to make it useable (the handling of the vehicle has to be stable, atm it isnt really good) Ill need to change some things. No idea if I ever finish it, but if I do, ill release it.


Re: increase speed - cruising - 05.06.2011

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Of course I will
Already started, in basically it works, you can modify a vehicles speed and acceleration.
But in order to make it useable (the handling of the vehicle has to be stable, atm it isnt really good) Ill need to change some things. No idea if I ever finish it, but if I do, ill release it.
Good
haha i really hope that you will fix it, i need it to increase the rustlers max speed, the speed is like a old lady :P
If its not only possible for ground vehicles? :O


Re: increase speed - Johnson_boy - 05.06.2011

I actually have script which works like that. It makes vehicles faster, but steering is really hard.
So yea, its possible


Re: increase speed - cruising - 05.06.2011

Quote:
Originally Posted by Johnson_boy
Посмотреть сообщение
I actually have script which works like that. It makes vehicles faster, but steering is really hard.
So yea, its possible
If it works on airvehicles, wanna share?


Re: increase speed - Johnson_boy - 06.06.2011

It doesn't work with air vehicles. It can only give better acceleration but it doesn't give more max speed. I've tried and its not possible using SetVehicleVelocity. You can only increase cars', bikes' and boats' max speed. I'd love to increase planes' speeds since they are unrealisticly slow on GTA SA.