[Help] Get the direction where the ped is facing


Hi guys,

I’m wondering how I can get the direction where a ped is facing? Or an angle? Or just set his direction to north for example.
If anyone has a track, let me know. I tried many native function but no success


Hello, I think it’s the 4rd coordinate (x="";y="",z="",here the direction) the number can be 0 to 360 probably




I don’t know how… but I havn’t saw them in the native list. I guess it was the late hours coding haha
Thanks man!