07.11.2009, 04:12
Alright so I have a dini saving system.
I want to add skins to the save file, so I added the slot to save it.
It works fine.
When the player logs in.
Now that means everyone saves as CJ. But I want them to save as the skin they first choose. Or they change to later.
But I don't know how to get the skin their wearing, and save the ID. I tried formating it but I couldnt get it to work.
I think it would go under OnPlayerDisconnect.
I want to add skins to the save file, so I added the slot to save it.
Код:
dini_IntSet(file, "skin", 0);
When the player logs in.
Код:
SetPlayerSkin(playerid, dini_IntSet(file, "Skin"));
But I don't know how to get the skin their wearing, and save the ID. I tried formating it but I couldnt get it to work.
I think it would go under OnPlayerDisconnect.