How to make 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: How to make skin saving? (
/showthread.php?tid=102072)
How to make skin saving? -
dirkblok - 13.10.2009
Hey,
I still got problems with making a skin saving filterscript...
so please could someone make one for me or teach me how to make it?
Thanks
Re: How to make skin saving? -
(.Aztec); - 13.10.2009
Why don't you just integrate it into your gamemode, not a filterscript?
Re: How to make skin saving? -
dirkblok - 13.10.2009
Doesn't matter for me, but I think it's easier for people who want to make this for me, to make it as a filterscript
I don't know...
Dirk
Re: How to make skin saving? -
(.Aztec); - 13.10.2009
Well, like I told someone else earlier on, just find a nice register + login system, save their variable into their file (pSkin?), then OnPlayerSpawn, load that variable using
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
return 1;
}