20.02.2013, 18:24
I tried but he dont work.
Its wrong, i have an error with this calcul.
PHP код:
Angle= new Float:Angle;
GetPlayerFacingAngle(playerid, Angle);
X to point = -1412.1890
Y to point = 2351.3638
My calcul = -1412.1890 * acos(Angle) - 2351.3638 * asin(Angle)