Код
new Float:fPos[3]=
{
1.3,
5.2,
7.1
};
new Float:fPosTwo[3]=
{
5.3,
10.2,
13.1
};
new Float:vector[3], Float:angles[3];
MakeVectorFromPoints(fPos, fPosTwo, vector);
GetVectorAngles(vector, angles);
PrintTo...("%f %f %f", angles[0], angles[1], angles[2]);