Jump to content

[HELP] setPedRotation


WalkinG

Recommended Posts

I need to rotate two players one front to the other but not to do this knowing already used "findRotation" but also did not work, now I'm trying to do so

vx,vy,vz = getElementRotation(avitima) 
                            ax,ay,az = getElementRotation(Assal) 
                            setPedRotation(avitima, 0, 0, az-vz)   
                            setPedRotation(Assal, 0, 0, vz-az)    

but also does not work

Help-me! :(

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...