21.03.2014, 10:16
Is there a anyway to increase the velocity of car while driving by adding the velocity? If u can't understand then take this like, I want to fit 10 nitro boost in every vehicle!
new Float:vx, Float:vy, Float:vz;
GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
SetVehicleVelocity(GetPlayerVehicleID(playerid), vx*2, vy*2, vz*2);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
//change 2 to speed that you want.
SetVehicleVelocity(GetPlayerVehicleID(playerid), vx*2, vy*2, vz*2);