Jump to content

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


Recommended Posts

Posted

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 :))

Currently working on MTA roleplay server. I also looking for people who can help me creating php scripts that allow us to register an account in web, and we can use the account on my server ( in game )

Visit my youtube channel : www.youtube.com/BreinzterAce

My facebook page : www.facebook.com/BreinzterAce

My community : Seagate Gaming (the website is still under development)

Contact me :

Gmail : [email protected]

Yahoo : [email protected]

Facebook : www.facebook.com/irfan.breinzter

Posted
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

350x20_FF0090_FFFFFF_0C0A36_FF0090.png
Posted
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

Currently working on MTA roleplay server. I also looking for people who can help me creating php scripts that allow us to register an account in web, and we can use the account on my server ( in game )

Visit my youtube channel : www.youtube.com/BreinzterAce

My facebook page : www.facebook.com/BreinzterAce

My community : Seagate Gaming (the website is still under development)

Contact me :

Gmail : [email protected]

Yahoo : [email protected]

Facebook : www.facebook.com/irfan.breinzter

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