Jump to content

Making a script.


Coinz

Recommended Posts

Hey, I was just wondering that how I could make the following script:

You type for example /saveskin and it "saves" the skin. Then I change my character's skin and I want to have the old skin made with /saveskin back by typing command /resetskin for example. Any ideas how could this be made?

I was thinking about getting the skin with GetPedSkin first, then naming the current skin and then at /resetskin doing SetPedSkin and the name of the value which I got from GetPedSkin. However I don't know what would I set as the second argument in SetPedSkin as I want it to be the old skin which player "saved". Thank you.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...