Changing Max vehicles Speed on sa-mp!
#6

@ 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.
Reply


Messages In This Thread
Changing Max vehicles Speed on sa-mp! - by ricardo178 - 05.02.2011, 20:24
Re: Changing Max vehicles Speed on sa-mp! - by xRyder - 05.02.2011, 20:32
Re: Changing Max vehicles Speed on sa-mp! - by Hiddos - 05.02.2011, 20:33
Re: Changing Max vehicles Speed on sa-mp! - by justsomeguy - 05.02.2011, 21:12
Re: Changing Max vehicles Speed on sa-mp! - by ricardo178 - 05.02.2011, 21:31
Re: Changing Max vehicles Speed on sa-mp! - by Godhimself - 10.08.2011, 06:42

Forum Jump:


Users browsing this thread: 2 Guest(s)