NPC:GetMyFacingAngle
From SA-MP Wiki
NPC:GetMyFacingAngle
Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.
Get the current facing angle of the NPC
(Float:Angle)
| Float:Angle | A float to save the angle, passed by reference. |
| Returns | The current facing angle of the NPC. |
Example:
new Float:Angle; GetMyFacingAngle(Angle); printf("I am currently facing %f!", Angle);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- NPC:SetMyFacingAngle: Set the NPC's facing angle.
