Skip to content

Comments

Add bone scaling functions#4602

Open
Dryxio wants to merge 5 commits intomultitheftauto:masterfrom
Dryxio:bonescale
Open

Add bone scaling functions#4602
Dryxio wants to merge 5 commits intomultitheftauto:masterfrom
Dryxio:bonescale

Conversation

@Dryxio
Copy link
Contributor

@Dryxio Dryxio commented Jan 5, 2026

Adds functions to scale ped bones:

  • setElementBoneScale(ped, bone, scaleX, scaleY, scaleZ)
  • getElementBoneScale(ped, bone)
  • resetElementBoneScale(ped, bone)
  • resetAllElementBoneScales(ped)
image

Related : #3123

Before you go ahead and create a pull request, please make sure:

If your work is incomplete, do not prefix your pull request with "WIP", instead
create a draft pull request: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thank you!

@Fernando-A-Rocha
Copy link
Contributor

Awesome feature!

To avoid having an additional function for resetting all bones of a ped, I think resetElementBoneScale could be adapted to do that if no 2nd bone argument is passed.

@FileEX FileEX added the enhancement New feature or request label Jan 6, 2026
@Dryxio Dryxio requested a review from FileEX January 6, 2026 16:06
@Dryxio Dryxio requested a review from FileEX January 6, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants