Skin 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Skin saving? (
/showthread.php?tid=101557)
Skin saving? -
dirkblok - 11.10.2009
Hello,
I have a simple question,
How can I make something that saves your skin when you logout. So when you login again you have the same skin as you had before...
Does someone knows how to do this? I think it's something with scriptfiles
Thanks
Re: Skin saving? -
(.Aztec); - 11.10.2009
Yes, it does have to do with scriptfiles. You need to create or download a login and registration system, then under pInfo (the most commonly used variable), put pSkin, then create a /setskin command that SetPlayerSkin(playerid, skin); and then sets their variable, PlayerInfo[playerid][pSkin], then onplayerlogin make it set their skin.. SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
Re: Skin saving? -
dirkblok - 12.10.2009
Thanks