[Help] Get the direction where the ped is facing


#1

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


#2

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


#3

GetEntityHeading/SetEntityHeading?


#4

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!