I think, BUT I THINK(maybe it isn't correct), that this isn't possible todo with a simple method. I think that you need to edit the skin image that the palyer has and then apply to the player. If there isn't anyother method I'll help you to do this. EDIT: Ok I really think this is the anly way can you please send me this image here on the forum, not the 3d version but the 2d to see how is your image and design a code that uses the image library of php?
Ok, so that can be done with some magic. Just kidding is pretty easy using the https://www.php.net/manual/en/book.image.php
It's hard to write code for that, so I'm just posting the way I have done it through. It's not called magic, it's php There are some tips to check https://www.php.net/manual/en/function.imagecreate.php https://www.php.net/manual/en/function.imagecolorat.php https://github.com/BlockHorizons/Li...rizons/LibSkinChanger/PlayerSkin.php#L98-L119