PDA

View Full Version : [Help]Save/Load Skin


ExogenZC
08/03/2015, 10:25 PM
Hey guys, I need some help to save and load skins of each player in my Register System. I tried to do this but.. Nothing, i can't.

This is my .pwn : http://pastebin.com/YSjUGQPn

Thanks in advance.

Kaliber
09/03/2015, 07:59 AM
You must work with:

//to save
dini_IntSet(file, "Skin", GetPlayerSkin(playerid));

//to load
SetPlayerSkin(playerid, dini_Int(file, "Skin"));

Greekz :cool:

ExogenZC
09/03/2015, 04:41 PM
You must work with:

//to save
dini_IntSet(file, "Skin", GetPlayerSkin(playerid));

//to load
SetPlayerSkin(playerid, dini_Int(file, "Skin"));

Greekz :cool:
Doesn't Work.. or Idk.
When i disconnect the Skin's value inside the saved file changes to the ID's skin that i set, but then when i connect again my skin is the 24.

Here my new .pwn : http://pastebin.com/ByHmakeH

Help

ExogenZC
09/03/2015, 07:50 PM
Fixed : http://pastebin.com/1KeasvBs :)

WildWave
09/03/2015, 10:03 PM
Fixed : http://pastebin.com/1KeasvBs :)

First make a command to save his skin, i post a saving skin system, see in my sign , learn from it.