Car to Airplane
#5

Create the plane before you set its position, rotation, and velocity.

Edit:

If you spawn a "Hydra" ID 520, it will kill the set velocity, because it always spawn in hover mode.
Anyway

pawn Код:
new my_vehicle = GetPlayerVehicleID(playerid), Float:v_dat[7];
GetVehiclePos(my_vehicle, v_dat[0], v_dat[1], v_dat[2]);
GetVehicleZAngle(my_vehicle, v_dat[3]);
GetVehicleVelocity(my_vehicle, v_dat[4], v_dat[5], v_dat[6]);
DestroyVehicle(my_vehicle);
PutPlayerInVehicle(playerid, my_vehicle = CreateVehicle(519, v_dat[0], v_dat[1], v_dat[2], v_dat[3], 1, 1, 0), 0);
SetVehicleVelocity(my_vehicle, v_dat[4], v_dat[5], v_dat[6]);
Reply


Messages In This Thread
Car to Airplane - by LionCodeT4 - 28.04.2013, 10:28
AW: Car to Airplane - by BigETI - 28.04.2013, 10:32
Re: AW: Car to Airplane - by LionCodeT4 - 28.04.2013, 10:40
Re: Car to Airplane - by Tamer - 28.04.2013, 10:43
AW: Car to Airplane - by BigETI - 28.04.2013, 10:44
Re: Car to Airplane - by LionCodeT4 - 28.04.2013, 10:57
Re: AW: Car to Airplane - by LionCodeT4 - 28.04.2013, 11:16
Re: AW: Car to Airplane - by Basssiiie - 28.04.2013, 11:22
Re: AW: Car to Airplane - by LionCodeT4 - 28.04.2013, 11:48

Forum Jump:


Users browsing this thread: 2 Guest(s)