Car to Airplane
#7

Quote:
Originally Posted by BigETI
Посмотреть сообщение
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);
SetVehicleVelocity(CreateVehicle(519, v_dat[0], v_dat[1], v_dat[2], v_dat[3], 1, 1, 0), v_dat[4], v_dat[5], v_dat[6]);
Cool man tnx but when you said "kill the set velocity" you mean i cant to create the plane when the car on move?
(how can i edit when is in the car and spwn the plen he spwn inside of it ?)
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)