Make an airplane flying for tutorial?
#1

Hello , i tried to create an airplane which one fly forward , but the problem is that he's falling.




Code:
	if(strcmp(cmd, "/test", true) == 0)
	{
	    TogglePlayerSpectating(playerid, 1);
	    InterpolateCameraPos(playerid,2351.6499, -1926.1400, 111.2500, 2430.1599, -1876.8300, 111.2500, 120000);
	 	InterpolateCameraLookAt(playerid, 2352.6599, -1926.2000, 111.2400,2430.2200, -1877.8400, 111.4700,120000);
		AirplaneTutorialVeh[playerid] = CreateVehicle(592, 2443.4148, -1940.8149, 111.7929, 90.4175, -1, -1, 100);
        SetVehicleVelocity(AirplaneTutorialVeh[playerid], 3.0, 0.0, 0.2);
		SetTimerEx("AirplaneTutorial", 5000, 1, "d", playerid);
		return 1;
	}

Function AirplaneTutorial(playerid)
{
	SetVehicleVelocity(AirplaneTutorialVeh[playerid], 3.0, 0.0, 0.2);
	return 1;
}
How can i make the airplane to fly forward? ..
Reply


Messages In This Thread
Make an airplane flying for tutorial? - by Metharon - 16.11.2014, 15:32
Re: Make an airplane flying for tutorial? - by Capua - 16.11.2014, 15:48
Re: Make an airplane flying for tutorial? - by Abagail - 16.11.2014, 15:55
Re: Make an airplane flying for tutorial? - by Metharon - 16.11.2014, 16:07
Re: Make an airplane flying for tutorial? - by Capua - 16.11.2014, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)