NPC:GetMyFacingAngle

From SA-MP Wiki

Jump to: navigation, search

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


Parameters:
(Float:Angle)
Float:AngleA float to save the angle, passed by reference.


ReturnsThe 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.

Personal tools