ppg-snippets icon indicating copy to clipboard operation
ppg-snippets copied to clipboard

How to change the sprite of a human while its spawned

Open WhiteholeSteve opened this issue 2 years ago • 2 comments

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)

WhiteholeSteve avatar Apr 12 '22 06:04 WhiteholeSteve

good question, maybe you can find how to do something like the change texture button on vehicles?

06NinjaKid06 avatar May 02 '22 21:05 06NinjaKid06

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.

R0Y1T0 avatar Jun 01 '22 17:06 R0Y1T0