18.08.2016, 07:06
Example this forward:
How to move backward this example ? Thanks for help (Sorry bad english skill)
PHP код:
new Float:Distance = 0.01;
Velocity[0] += (Distance * floatsin(-Velocity[3], degrees));
Velocity[1] += (Distance * floatcos(-Velocity[3], degrees));
SetVehicleVelocity(vehicleid, Velocity[0], Velocity[1], Velocity[2] - 0.01);