How to move like fps view on tps

Hi, When you press the a, d or s keys while in first person view, instead of turning the character direction, it simply steps in the direction determined by the key you press. and the heading of the character remains the same. How can I achieve this while on TPS? Is there a native for this? Or how can I connect the direction of the character completely from camera to camera, as in FPS?

There’s no way to change it, the movement behaviour between different viewmodes is hardcoded in GTAV itself.

working on a cam creator fivem at the moment
Fivem LandCreator (youtube.com)
look at 9.44 there i show a preview of it but for making a cam as i make use of raycast to make the ped heading change wich works with real feet movements i namely make use of raycast for achiving this but this wont affect the native cams as you gonna need to create a cam that will replace your existing native cam in my video i created a cam over the original firstperson cam wich gives the feeling of having a more realistic firstperson cam that works in sync with the cam only thing that cannot be changed is the headRotations but works well when walking then cam rotation logic with raycast does work