DAMN IT DOESN'T WORK PROPERLY!
#4

use GetVehicleVelocity, and then do something similar to this

pawn Код:
SetVelocityForward(playerid, Float:multi)
{
if (IsPlayerInAnyVehicle(playerid))
{
new Float:angle, Float:velox, Float:veloy;
GetPlayerFacingAngle(playerid, angle);
velox = multi * floatsin(angle, degrees);
veloy = multi * floatcos(angle, degrees);
SetVehicleVelocity(GetPlayerVehicleID(playerid), velox, veloy, 0.01);
}
return 1;
}
@MadeMan, you are confusing velocities with coords.
Reply


Messages In This Thread
DAMN IT DOESN'T WORK PROPERLY! - by stieben - 20.01.2010, 18:41
Re: DAMN IT DOESN'T WORK PROPERLY! - by timmehhh - 20.01.2010, 18:43
Re: DAMN IT DOESN'T WORK PROPERLY! - by MadeMan - 20.01.2010, 19:14
Re: DAMN IT DOESN'T WORK PROPERLY! - by Daren_Jacobson - 20.01.2010, 19:16
Re: DAMN IT DOESN'T WORK PROPERLY! - by MadeMan - 20.01.2010, 19:19
Re: DAMN IT DOESN'T WORK PROPERLY! - by stieben - 21.01.2010, 15:38
Re: DAMN IT DOESN'T WORK PROPERLY! - by stieben - 21.01.2010, 16:04
Re: DAMN IT DOESN'T WORK PROPERLY! - by MadeMan - 21.01.2010, 16:52
Re: DAMN IT DOESN'T WORK PROPERLY! - by stieben - 22.01.2010, 14:08

Forum Jump:


Users browsing this thread: 1 Guest(s)