Bully-Board
Bully Modding Section => Modding Questions/Help => Topic started by: Ming on April 25, 2021, 04:12:14 AM
-
How to use "PedGetHeading"function?
-
PedGetHeading(pedname)
Simple as that.
It returns a value (the direction the ped is facing, in this case) that you can then do whatever you want with.
-
I mean, how to use trigonometric function to convert the value of PedGetHeading to the ratio of x and y