SA-MP Forums Archive
After logged in directly spawn - 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: After logged in directly spawn (/showthread.php?tid=557985)



After logged in directly spawn - xX4m4zingXx - 15.01.2015

now it's like you type your password in and then you press enter.
then you have to click a button "spawn" to spawn, but I want to make it that you don't have to click that button and just spawn automatically.
how would I do that?


Re: After logged in directly spawn - vassilis - 15.01.2015

put on your login dialog that if he succeed SpawnPlayer(playerid);


Re: After logged in directly spawn - xX4m4zingXx - 15.01.2015

Okay, I added that.
Is it also possible to make the player spawn on random places I give the coordinates of?