hi. There is a code that I don't know how to use. It is "setSkin". PHP: setSkin($str, false); How do I input skin data in $str? I extracted skin data, but I couldn't save as text. (used getSkinData(); ) Please tell me. Thank you for reading my thread and answering.
PHP: $player->setSkin($this->getServer()->getDataPath() ."Skin/".$skin); i think this code I'm not sure because I did not use code
Old: Code: setSkin($str, false); New: Code: setSkin($str, $skinName); https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/entity/Human.php#L89
Please don't post if you have no evidence behind that. Who told you it is a file... It isn't even related to PNG... RGBA, not RGB.