Vehicle Move Backward ?
#1

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

PHP код:
GetVehicleOrientationPos(vehicleid,o_back,0.01,Velocity[0],Velocity[1],Velocity[2]);
SetVehicleVelocity(vehicleid,Velocity[0],Velocity[1],Velocity[2]); 
3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)