03.10.2010, 15:39
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);