SA-MP Forums Archive
Spawn 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)
+--- Thread: Spawn help (/showthread.php?tid=459468)



Spawn help - ProjectMan - 23.08.2013

Hello, I wanted to skip Class Selection (OnPlayerRequestClass) completely, so the first thing which is done on (OnPlayerConnect) is that I put in TogglePlayerSpectating(playerid, true). It works fine and all, but the problem is, for the first death, it will go back to the OnPlayerRequestClass, no matter what I put there. I know there is a better way which will not allow this to happen. Please tell me what it/they is/are.


Re: Spawn help - JaKe Elite - 23.08.2013

OnPlayerRequestClass.

Put

SetSpawnInfo below the code SetSpawnInfo, put SpawnPlayer(playerid);

It will work fine.