[HELP] Save player 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Save player skin (
/showthread.php?tid=256535)
[HELP] Save player skin -
Fredden1993 - 21.05.2011
Hello,
I was just thinking, is there a way for a skin ID to be saved to the player .ini file when a player selects a skin from the skin selection? I got PlayerInfo[playerid][pSkin] ready for this. It should work like, if the player are new, he should be able to select a skin from the skin selection and next time ge loggs in he will be spawned automatically with the choosen skin.
Thanks for your help and opinions.
Re: [HELP] Save player skin -
Darcha - 14.07.2011
I need the same help so if you get a answer please pm me
Re: [HELP] Save player skin -
Jack_Leslie - 14.07.2011
Yeah, when he chooses the skin, and spawns, do:
Код:
PlayerInfo[playerid][pSkin] = GetPlayerSkin(playerid);
I assume it already saves it on disconnect?