Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Player tattoo when use setPedAppearance export #443

Closed
hussyainy opened this issue Jul 23, 2024 · 1 comment
Closed

Problem with Player tattoo when use setPedAppearance export #443

hussyainy opened this issue Jul 23, 2024 · 1 comment
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@hussyainy
Copy link

hussyainy commented Jul 23, 2024

when i run this export it seems that the online player Tattoo setting will change to like a default tattoo settings. and it will overwrite the user tattoo settings set in the tattoo shop.

exports['illenium-appearance']:setPedAppearance(peduser, skindata)

@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jul 23, 2024
@hussyainy hussyainy changed the title Problem with Player tattoo when use setPedAppearance Problem with Player tattoo when use setPedAppearance export Jul 23, 2024
@TheiLLeniumStudios
Copy link
Member

That is expected, as tattoos are part of the appearance. So you need to get the tattoos using getPedTattoos and then set them in the skindata before calling setPedAppearance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

2 participants