SA-MP Forums Archive
[Help]Save/Load 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)
+--- Thread: [Help]Save/Load Skin (/showthread.php?tid=566888)



[Help]Save/Load Skin - ExogenZC - 08.03.2015

Hey guys, I need some help to save and load skins of each player in my Register System. I tried to do this but.. Nothing, i can't.

This is my .pwn : http://pastebin.com/YSjUGQPn

Thanks in advance.


AW: [Help]Save/Load Skin - Kaliber - 09.03.2015

You must work with:

PHP код:
//to save
dini_IntSet(file"Skin"GetPlayerSkin(playerid));
//to load
SetPlayerSkin(playeriddini_Int(file"Skin")); 
Greekz


Re: AW: [Help]Save/Load Skin - ExogenZC - 09.03.2015

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
You must work with:

PHP код:
//to save
dini_IntSet(file"Skin"GetPlayerSkin(playerid));
//to load
SetPlayerSkin(playeriddini_Int(file"Skin")); 
Greekz
Doesn't Work.. or Idk.
When i disconnect the Skin's value inside the saved file changes to the ID's skin that i set, but then when i connect again my skin is the 24.

Here my new .pwn : http://pastebin.com/ByHmakeH

Help


Re: [Help]Save/Load Skin - ExogenZC - 09.03.2015

Fixed : http://pastebin.com/1KeasvBs


Re: [Help]Save/Load Skin - WildWave - 09.03.2015

Quote:
Originally Posted by ExogenZC
Посмотреть сообщение
First make a command to save his skin, i post a saving skin system, see in my sign , learn from it.