Help, 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help, Save skin (
/showthread.php?tid=90439)
Help, Save skin -
Blades - 08.08.2009
Hi, I am trying to save skin of my player, I used this:
pawn Код:
dUserSetINT(PlayerName(playerid)).("skinplayer",GetPlayerSkin(playerid));
And then:
pawn Код:
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("skinplayer"));
I included Dudb and that is the only code i did with it, if it makes any sense.
I get no errors, but when it sets the player skin, It sets it to CJ skin. (ID 0 I think)
So is there a proper way to use this without the DUDB or if someone could tell me how to fix my line, if it isn't correct?
Thanks.
Re: Help, Save skin -
propilot - 08.08.2009
I never sew this functions or what ever but there is "skin owner shit" in this forum.
It might help you?
Have fun