note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
GetMyFacingAngle
Description
Get the current facing angle of the NPC.
Name | Description |
---|---|
&Float:Angle | A float to save the angle in, passed by reference. |
Returns
The facing angle is stored in the specified variable.
Examples
public OnPlayerText(playerid, text[])
{
new Float:Angle;
GetMyFacingAngle(Angle);
printf("I am currently facing %f!", Angle);
Related Functions
- SetMyFacingAngle: Set the NPC's facing angle.