Position Pitch/Yaw?

Good morning all, hope you’re having a good day :slight_smile:

I was wondering how exactly I can go about extracting the pitch/yaw from the position of a player/vehicle, is it simply a case of fetching the coords and doing .pitch/.yaw like .x/y/z? As I’m using Notepad++ it’s proving rather difficult to check this sort of thing when all I’m given is the base functions.

Side note, if someone does happen to know of a better program I should be using (Still rather new to the FiveM scene), then don’t hesitate to let me know!

Thanks in advance, everyone!