07.08.2014, 02:45
Hello,
I'm a beginner scripter, I followed Kush's login/account system, and I'm trying to add in a system to skip the class selection screen and just spawn in the player after he/she registered or logged in, and have their skin set to what it was previously, or if they're just registering, set to a default skin.
I have no clue how to skip to skin selector screen even after googling it
does not seem to work and when I did get it to work it spawned me out in blueberry and idk where to add in the spawn location, I do have the skin saving system set, but I can't figure out how to open up the y_ini file, get the skin ID from that and use it.
I've tried this and it doesn't work
Skip class selection screen and spawn: No clue how to do
Save skin on disconnect: Got it.
Setskin to what was saved on login: No clue how to fix it
I'm a beginner scripter, I followed Kush's login/account system, and I'm trying to add in a system to skip the class selection screen and just spawn in the player after he/she registered or logged in, and have their skin set to what it was previously, or if they're just registering, set to a default skin.
I have no clue how to skip to skin selector screen even after googling it
Code:
spawnplayer(playerid)
I've tried this and it doesn't work
Code:
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin])
Save skin on disconnect: Got it.
Setskin to what was saved on login: No clue how to fix it