16.06.2012, 19:36
Hello, I am currently beginning a small project, and I want the skin to save when somebody disconnects from the server.
I have made a small /skin command to change your skin in-game.
The problem is, I connect to the game for the first time, set my skin to 294 for example, then I leave and reconnect I get skin 0 again.
I go in-game, set my skin to 294 with /skin, and leave the server. I go into my scriptfiles folder and check, and its empty, and my skin gets 0 when I join the server.
Here is my properly indented code that I put in a pastebin file so it gets easier to view.
http://pastebin.com/peh27e0u
All help is appreciated!
I have made a small /skin command to change your skin in-game.
The problem is, I connect to the game for the first time, set my skin to 294 for example, then I leave and reconnect I get skin 0 again.
I go in-game, set my skin to 294 with /skin, and leave the server. I go into my scriptfiles folder and check, and its empty, and my skin gets 0 when I join the server.
Here is my properly indented code that I put in a pastebin file so it gets easier to view.
http://pastebin.com/peh27e0u
All help is appreciated!