Jump to content

setPedFacing


Recommended Posts

can a function be added which sets the peds or players rotation so its facing either a x,y,z position or a specified element. I'm sure this can be done manually through some calculation but im no good at maths.

for example could it be

setPedFacing(ped,element) 

or

setPedFacing(ped,x,y,z) 

e.g. 1

setPedFacing(ped,player) --Will change the peds rotation so it faces the player 

e.g. 2

setPedFacing(ped,0,0,0) --Will change the peds rotation so it faces the position 0,0,0 

this would help me a lot if it was added in a future update

Link to comment
  • 2 weeks later...
  • 2 weeks later...
  • Recently Browsing   0 members

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