SA-MP Forums Archive
Skip Class Selection | Save Player's 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: Skip Class Selection | Save Player's Skin (/showthread.php?tid=451391)



Skip Class Selection | Save Player's Skin - Configuration - 16.07.2013

Hello how to make this Skip Class Selection | Save Player's Skin


Re: Skip Class Selection | Save Player's Skin - Configuration - 22.07.2013

anyone?


Re: Skip Class Selection | Save Player's Skin - PlayHard - 21.08.2013

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SpawnPlayer(playerid);
    //SetPlayerSkin(playerid, 0);
    return 1;
}
That would skip the class selection


Re: Skip Class Selection | Save Player's Skin - Matnix - 21.08.2013

PlayHard, I think the best way is to add SpawnPlayer(playerid); when the player connect to the server. And SetPlayerSkin(playerid, ID); when he spawn.


Re: Skip Class Selection | Save Player's Skin - cray1100 - 21.08.2013

He wants to save the skin guys, then load it when the player connects, not just set a skin and skip. Like when a player connects, i
t should check to see if they were registered, and see if they had a saved skin, and if they do, it would set their skin, then skip class selection...