Jump to content

Making a script.


Coinz

Recommended Posts

Posted

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.

Posted

@benxamix2:

1.) Don't spam.

2.) If topic creator ask for close - we will close. ThaCoinz didn't reply anything, he can solve his problem, but also he can still work on it (because of lack of free time for examplo) and he can get stuck somewhere.

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...