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 ?)