From SA-MP Wiki

Jump to: navigation, search

NPC:GetMyFacingAngle was added in SA-MP 0.3a This function was added in SA-MP 0.3a and will not work in earlier versions!


Get the current facing angle of the NPC.

&Float:AngleA float to save the angle in, passed by reference.

Return Values:

  • The facing angle is stored in the specified variable.

Example Usage:

new Float:Angle;
printf("I am currently facing %f!", Angle);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools