02.09.2013, 15:14
(
Последний раз редактировалось DaniceMcHarley; 01.06.2017 в 02:35.
)
------
public OnPlayerDisconect(playerid)
{
new sID = GetPlayerSkin(playerid); // get the players skins
new INI:File = INI_Open(UserPath(playerid)); // the open his file in the userpatch
INI_SetTag(File,"data");
INI_WriteInt(File,"pSkin",sID); // we write a new line with his skins id
INI_Close(File); // close his files
}
INI_Int("pSkin",PlayerInfo[playerid][pSkin]);
SetlayerSkin(playerid,PlayerInfo[playerid][pSkin]);