09.09.2009, 20:10
thanks all
Originally Posted by Doerfler
this will help:
1.5*x 1.5*y 1.5*z or 2.0 +y = north -y = south +x = east -x = west +z = up -z = down |
Originally Posted by kruts
hm...
if(Angle,90.0 <= 0) SetVehicleVeloCity...... yes or no? |
new Float:x, Float:y, Float:z, Float:angle, carid;
carid = GetPlayerVehicleID(playerid);
GetVehicleVelocity(carid, x, y, z);
GetPlayerZAngle(carid, angle);
x = 0.2 * floatcos(angle + 90.0, degrees) + x;
y = 0.2 * floatsin(angle + 90.0, degrees) + y;
SetVehicleVelocity(carid, x, y, z);