SA-MP Forums Archive
Skin not saving? - 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: Skin not saving? (/showthread.php?tid=474279)



Skin not saving? - Chrillzen - 07.11.2013

EDIT: Fixed it myself.


Re: Skin not saving? - Wizzy951 - 07.11.2013

Won't this work ?
pawn Код:
//OnPlayerDisconnect
INI_WriteInt(File, "Skin", GetPlayerSkin(playerid));

//And the load function
INI_Int("Skin", PlayerInfo[playerid][pSkin]);
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);



Re: Skin not saving? - Chrillzen - 07.11.2013

Hehe, I noticed that I wasn't loading it....


Re: Skin not saving? - NvidiaForTheWin - 07.11.2013

EDIT : the guy over me was faster