vehicle pos offset Q
#3

Quote:
Originally Posted by Rachael
Посмотреть сообщение
pawn Код:
#define OBJECT_ID //your object here

new Float:angle,Float:vx,Float:vy,Float:vz;
GetVehiclePos(vehicleid,vx,vy,vz);
GetVehicleZAngle(vehicleid,angle);
CreateObject(OBJECT_ID,vx + (-15 * floatsin(360-angle,degrees)),vy + (-15 * floatcos(360-angle,degrees)),vz,0.0,0.0,angle);
untested, but it should give you a starting point.
thanks alot
Reply


Messages In This Thread
vehicle pos offset Q - by thomas.. - 03.10.2010, 15:33
Re: vehicle pos offset Q - by Rachael - 03.10.2010, 15:39
Re: vehicle pos offset Q - by thomas.. - 03.10.2010, 15:40

Forum Jump:


Users browsing this thread: 2 Guest(s)