AutoPilot system bug.
#1

Hey,

I have some problem. I'm turned on timer ( SetTimerEx for playerid ) with 1second interval ( repeating ) and doing this callback
Код:
public AutoPilot(playerid)
{
	new Float:velocity[3];
	new const vehicleid = GetPlayerVehicleID(playerid);
        GetVehicleVelocity(vehicleid,velocity[0],velocity[1],velocity[2]);
	SetVehicleVelocity(vehicleid,velocity[0],velocity[1],velocity[2]);
}
But, my speed is slowing down, it seems like it's not working. I have puted prints, everything seems good - printing.
Thanks for answers.
Reply


Messages In This Thread
AutoPilot system bug. - by cepiokas - 13.02.2011, 20:22
Re: AutoPilot system bug. - by AlExAlExAlEx - 13.02.2011, 20:32
Re: AutoPilot system bug. - by cepiokas - 13.02.2011, 20:42

Forum Jump:


Users browsing this thread: 2 Guest(s)