redditing Posted March 21, 2020 Share Posted March 21, 2020 Hello, I would like to know how to set npc rotation towards the player (To NPC just look at the player) preferably using the command "getElementPosition" (client resource) Link to comment
_Ace Posted March 22, 2020 Share Posted March 22, 2020 https://wiki.multitheftauto.com/wiki/FindRotation get player position and ped position, set their x and y in the findRotation params, then set the npc rotation with the returned value from findRotation, use setPedRotation to do so 1 Link to comment
The_GTA Posted March 22, 2020 Share Posted March 22, 2020 10 hours ago, redditing said: (To NPC just look at the player) I think you want to take a look at aswell. That topic descibes how to rotate just the head of a ped. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now