SA-MP Forums Archive
class selection help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: class selection help (/showthread.php?tid=71082)



class selection help - StrickenKid - 29.03.2009

i wanna make it so when a player that's registered comes and that he/she can only select the character they where using when they last quit.
i tried using SetSpawnInfo but the player can just use the arrow keys and select another skin. Any Help?


Re: class selection help - MenaceX^ - 29.03.2009

Not sure but try to return the public as false.


Re: class selection help - StrickenKid - 29.03.2009

tried, cant do anything, including spawn.....


Re: class selection help - FUNExtreme - 29.03.2009

pawn Код:
public OnPlayerRequestClass
{
SpawnPlayer(playerid);
SetPlayerSkin(playerid, skin);
return 1;
}