Bean666 Posted March 25, 2021 Share Posted March 25, 2021 How do I make a ped facing towards me? ex: ik getElementPosition wont work with rotations but how do I get a ped to know my position and face towards it? local pedTest = createPed(34, -454.654296875, 2716.099609375, 63.490333557129) function testRotate() local x, y, z = getElementPosition(localPlayer) setElementRotation( pedTest, x, y, z ) end 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