24.09.2009, 15:24
Can anyone help me to get a cordinates behind a vehicle such as a tow truck....
for making the tow truck towable....
for making the tow truck towable....
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, A);
Y += -1*(floatcos(-A, degrees));
X += (floatsin(A, degrees));
X += (0.75 * floatsin(A, degrees));
Y += (0.75 * floatcos(A, degrees));
X += (5 * floatsin(-A, degrees));
Y += (5 * floatcos(-A, degrees));