Teleport Vehicle to Vehicle Face Angle
#2

For example, if you want to set the vehicle behind the vehicle.
PHP код:
new Float:tx,Float:ty,Float:tz,Float:angle;
GetVehicleOrientationPos(vehicleid,o_back,10.0,tx,ty,tz);
SetVehiclePos(new_vehicleid,tx,ty,tz);
GetVehicleZAngle(vehicleid,angle);
SetVehicleZAngle(new_vehicleid,angle); 
3DTryg.inc:
https://sampforum.blast.hk/showthread.php?tid=591010
Reply


Messages In This Thread
Teleport Vehicle to Vehicle Face Angle - by Hayden_Almeida - 16.12.2016, 16:18
Re: Teleport Vehicle to Vehicle Face Angle - by AbyssMorgan - 16.12.2016, 16:25
Re: Teleport Vehicle to Vehicle Face Angle - by Hayden_Almeida - 16.12.2016, 16:32
Re: Teleport Vehicle to Vehicle Face Angle - by AbyssMorgan - 16.12.2016, 16:34
Re: Teleport Vehicle to Vehicle Face Angle - by Swedky - 16.12.2016, 16:41
Re: Teleport Vehicle to Vehicle Face Angle - by Hayden_Almeida - 16.12.2016, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)