NPC:SetMyFacingAngle

From SA-MP Wiki

Jump to: navigation, search


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


Description:

Set the NPC's facing angle.


Parameters:
(Float:ang)
Float:angThe new NPC's facing angle.


Return Values:

This function does not return any specific values.


Example Usage:

SetMyFacingAngle(0); //NPC faces north


       north (0)
          |
(90) west- -east (270)
          |
       south (180)

Personal tools
Navigation
Toolbox