Search the Community
Showing results for tags 'player clothes'.
Found 2 results
226 downloadsThis 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
Hello guys. So, I finally got RageMP working after some time trying to run it. Then I started to work on my own server, doing my scripts and I really loved the scripting API! Good work devs! So, while testing a character customization I made for the game playing with two computers I noticed a bug. The first player who is changing the component '0' (the head) cannot see the changes, while the another one can see the changes in the characther of the first one. I have no clue why this happens. I don't think this is a scripting problem, because all the other components (Hair, Torso, Legs) are working just fine. Any ideas?