SA-MP Forums Archive
disabling spawn selection - 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: disabling spawn selection (/showthread.php?tid=163919)



disabling spawn selection - LasTRace - 29.07.2010

How can i disable class selection after a player connected (direct spawn)?


Re: disabling spawn selection - ViruZZzZ_ChiLLL - 29.07.2010

Try this :
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
   SpawnPlayer(playerid);
   return 1;
}



Re: disabling spawn selection - iggy1 - 29.07.2010

Too Slow


Re: disabling spawn selection - Jonni8 - 29.07.2010

Maybe put that into OnPlayerConnect() ?


Re: disabling spawn selection - iggy1 - 29.07.2010

Im not sure but i dont think u can spawn in onplayerconnect.


Re: disabling spawn selection - LasTRace - 29.07.2010

Thank you both.