04.11.2017, 12:28
(
Last edited by J0sh...; 28/04/2018 at 05:00 PM.
)
Hello, you're probably reading this after gathering a boner about 0.3.8.
So you may ask yourself, how to add a skin?
Assuming you've downloaded a skin from the internet or followed Kalcor's tutorial you will be ready.
Firstly, go to your models folder in your SA-MP 0.3.8 server directory.
It should have some pre-made files inside.
Now, copy your skin dff and txd to this directory.
Now it should look like this, (replace skin.txd/dff with your actual skin name)
Now, open artconfig.txt in that directory.
This is what should be inside, you can delete all of this if you want.
Now, we need to use AddCharModel()
The first paramater of the function is a valid GTA SA skin ID, this is probably used for the collision or the animations.
The second paramater is the ID of the skin that you'll be using in SetPlayerSkin()
The third paramater is the DFF name
The fourth paramter is the TXD name
For example, my artconfig would now look like this
Now, save that file and open up your server.
If you see this you've done it correctly! Now head in game.
You may see this
Those are the files downloading.
Now, you can use something like /skin the second parameter of AddCharModel e.g. for me it'd be 25002
So I'd write /skin 25002
Now you should have something like this:
Congratulations, you have now added a custom skin to your SA-MP server!
Enjoy!
So you may ask yourself, how to add a skin?
Assuming you've downloaded a skin from the internet or followed Kalcor's tutorial you will be ready.
Firstly, go to your models folder in your SA-MP 0.3.8 server directory.
It should have some pre-made files inside.
Now, copy your skin dff and txd to this directory.
Now it should look like this, (replace skin.txd/dff with your actual skin name)
Now, open artconfig.txt in that directory.
This is what should be inside, you can delete all of this if you want.
Now, we need to use AddCharModel()
The first paramater of the function is a valid GTA SA skin ID, this is probably used for the collision or the animations.
The second paramater is the ID of the skin that you'll be using in SetPlayerSkin()
The third paramater is the DFF name
The fourth paramter is the TXD name
For example, my artconfig would now look like this
Now, save that file and open up your server.
If you see this you've done it correctly! Now head in game.
You may see this
Those are the files downloading.
Now, you can use something like /skin the second parameter of AddCharModel e.g. for me it'd be 25002
So I'd write /skin 25002
Now you should have something like this:
Congratulations, you have now added a custom skin to your SA-MP server!
Enjoy!