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)
+--- Thread: skin saving (
/showthread.php?tid=416200)
skin saving -
blackdragon1 - 16.02.2013
how to make save skin on y_ini? i means if player /q the game and come back they can't change skin on class section.
Re: skin saving -
dusk - 16.02.2013
INI_WriteString(ini,"SKIN:",GetPlayerSkin(playerid )); That should work. Didn't test it though
Re: skin saving -
blackdragon1 - 16.02.2013
i can made it but i think there is a code i dk i need to add onplayer spawn? or connect? plox reply if u see my post.
Re: skin saving -
dusk - 16.02.2013
Oh,i forgot you want them to get it OnPlayerSpawn, my first post is for SAVING it.
For loading yes, you need to LOAD the file OnPlayerConnect and then SetPlayerSkin.
I would give you the code, but i don't know Y_INI loading...