[Help]Save/Load Skin
#1

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.
Reply
#2

You must work with:

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

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
Reply
#4

Fixed : http://pastebin.com/1KeasvBs
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)