Jump to content

1 Screenshot

About This File

This should save you some time writing your own syncing when it comes to using player.setClothes() for values over 255 until 1.0 gets released. The download has example scenarios/commands you can use.

Serverside Functions:

player.changeClothes(Number componentId, Number drawable, Number texture, Bool save, Bool sync)
player.resetClothes()

Save parameter:

By setting this to true the script will remember these values and re-apply these when using player.resetClothes()

Sync parameter:

If you set this parameter to false the clothes will only be applied on the target client.

Set this to true and everyone will see the clothes!

 

Demonstration:

This GIF has both save and sync parameter set to false to preview the selected item before actually purchasing it. Once purchased, both save and sync are set to true to remember the purchased item and to sync it to all other clients

https://imgur.com/a/gsySyPc

 

And this GIF shows the same interaction but from the other client

https://imgur.com/a/0IankaB

  • Like 1

User Feedback

Recommended Comments

There are no comments to display.

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
×
×
  • Create New...