SA-MP Forums Archive
Changing Vehicles speed max! - 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: Changing Vehicles speed max! (/showthread.php?tid=245900)



Changing Vehicles speed max! - ricardo178 - 02.04.2011

Hey guys, i don't know if i already asked this but i don't think so...

Is that possible to the scripter change vehicles max speed? Like on SP(single player), we can chang handling, so i think it could be nice if we can change it here too!

Thanks


Re: Changing Vehicles speed max! - gamer931215 - 02.04.2011

Hmm it might would be possible with GetVehicleVelocity() & SetVehicleVeloCity() and OnPlayerKeyStateChange() and GetplayerKeys()

E.X:
if player is holding "w", then SetVehicleVeloCity(vehicle,x+5,y+5,z+5);

Other than making it yourself... it isnt possible.