Jump to content

[HELP] Set object yxz position on ped body's


Breinzter

Recommended Posts

Hello!

I've been working on Toys-system, yes i succes to made it but my problem is to set the object position on ped body's, my question is : is there any better way to set the xyz position? instead of using our sense? or any way to find out xyz pos on ped body's?

Thank you :))

Link to comment
Hello!

I've been working on Toys-system, yes i succes to made it but my problem is to set the object position on ped body's, my question is : is there any better way to set the xyz position? instead of using our sense? or any way to find out xyz pos on ped body's?

Thank you :))

Use this manually:

getPedBonePosition 
attachElements 
  

Or you can try this script:

https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540

Link to comment
Hello!

I've been working on Toys-system, yes i succes to made it but my problem is to set the object position on ped body's, my question is : is there any better way to set the xyz position? instead of using our sense? or any way to find out xyz pos on ped body's?

Thank you :))

Use this manually:

getPedBonePosition 
attachElements 
  

Or you can try this script:

https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540

Thank you for responding. Yes i already use bone_attach but it just kinda hard for me to make the object attached on body correctly. Like the helmet is not fit on head because the xyz not correct so the helmet is not fit but far from head

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...