10.08.2011, 06:42
@ 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.
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.