Changing Max vehicles Speed on sa-mp! - 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 Max vehicles Speed on sa-mp! (
/showthread.php?tid=221637)
Changing Max vehicles Speed on sa-mp! -
ricardo178 - 05.02.2011
Hello guys, i want to make my server a litle better so i want to change max vehicles speed of some vehicles to either!
Any idea about how to do it
? I want for EXAMPLE put an nebula getting 200 kmp
If this is Tooglable with a cmd is better too!
Thanks in advance!
Re: Changing Max vehicles Speed on sa-mp! -
xRyder - 05.02.2011
I
think that's not possible, or it is, but you'll have to edit some things that are client based. ( players on your server won't be able to see it, or will see it as a lagg)
Or use SetVehicleVelocity()
Re: Changing Max vehicles Speed on sa-mp! -
Hiddos - 05.02.2011
Only thing that comes to my mind is this:
https://sampforum.blast.hk/showthread.php?tid=179089
Re: Changing Max vehicles Speed on sa-mp! -
justsomeguy - 05.02.2011
i think i have seen something like that around the filterscript section but i'm not completely sure
Re: Changing Max vehicles Speed on sa-mp! -
ricardo178 - 05.02.2011
Hum, the one you showed me is cool but can't put the cars going faster then they are! Only lower!
Re: Changing Max vehicles Speed on sa-mp! -
Godhimself - 10.08.2011
@ ricardo178
Why not just loop through MAX_PLAYERS, checking if there in a vehicle id, you wish to make faster, Then simply check when there in the fast vehicle/s, also checking buttons pressed, if there pressing forward, Move there position (Using the GetPosInFrontOfPlayer stock on samp wiki) forward how far you want then to go, making a 1 second timer to do so will move it w/e u state every 1 second and so on. I CBF doing the math, but speed is calculated with distance. Note samp uses Metric mesurements.
If you dont understand that, may god have mercy on your soul.