ppg-snippets
ppg-snippets copied to clipboard
How to change the sprite of a human while its spawned
Hello, so I won't to change the sprite of a human when its spawned, I have an idea for it to be in the right click menu, but how would I change it, I had an idea for it to add or minus from a varible to chose what skin it has, but, how will I change its skin (I don't want an error and then get confused for like 10 minutes, I just want an answer)
good question, maybe you can find how to do something like the change texture button on vehicles?
I think you should investigate it using the available resources from studiominus and github. I'm too working on a similar system like that but available for almost any type of object. Have you checked this? https://www.studiominus.nl/ppg-modding/internalReference/ContextMenuBehaviour.html
Also, there's no point on giving a full code if you are not going to understand it anyways, that was my first mistake and i made crappy mods using code that i didn't understand. Learn from scratch how the code works, you literally have more than enough resources to do that.