SA-MP Forums Archive
Problem Save Skin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem Save Skin (/showthread.php?tid=595829)



Problem Save Skin - alex7233 - 08.12.2015

Hello, i have problem that save skin to %.ini
Please Help ;x

http://pastebin.com/QktzQ9dv


Re: Problem Save Skin - ATGOggy - 08.12.2015

Change your OnPlayerConnect to this:
pawn Код:
public OnPlayerConnect(playerid)
{
    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
    SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
        return 1;
}



Re: Problem Save Skin - alex7233 - 08.12.2015

Work ! Very, Very Thanks Man !