24.04.2013, 18:35
Are you sure you want to increase all axes' vehicle's velocity by 3? I got to tell you thats a huge value, I have made some tests lately for an alt key boost I wanted to make. If you multiply/increase every velocity component with a value, the car will go forward, using these lines:
1.3 is a reasonable multiplier to use.
pawn Код:
new Float:vx,Float:vy,Float:vz;
GetVehicleVelocity(GetPlayerVehicleID(playerid),vx,vy,vz);
SetVehicleVelocity(GetPlayerVehicleID(playerid), vx*1.3, vy*1.3, vz*1.3);

