SA-MP Forums Archive
Forcing a player to spawn at the very start... - 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: Forcing a player to spawn at the very start... (/showthread.php?tid=266495)



Forcing a player to spawn at the very start... - Jack_Leslie - 05.07.2011

How do you force a player to spawn without clicking the "Spawn" button at the very start? I've tried adding

Код:
SpawnPlayer(playerid);
At where they log in and it gives them the server welcome message, but that doesn't work :S


Re: Forcing a player to spawn at the very start... - =WoR=Varth - 05.07.2011

Use SetSpawnInfo too.


Re: Forcing a player to spawn at the very start... - Jack_Leslie - 05.07.2011

Thanks varthshenon, it worked.