NPC:GetMyFacingAngle
From SA-MP Wiki
Description:
Get the current facing angle of the NPC.
(&Float:Angle)
&Float:Angle | A 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; GetMyFacingAngle(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.
- NPC:SetMyFacingAngle: Set the NPC's facing angle.