Player 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: Player Spawn (
/showthread.php?tid=530461)
Player Spawn -
Sarra - 07.08.2014
Hi,
I want to ask if there's a way to spawn the player without having to click on the "spawn" button
So after logging in, he'll find himself at the spawn point,
I tried SpawnPlayer(playerid) under OnDialogResponse but It doesn't work, I think it just respawns the player if he's already spawned!
Is there any way to do so?
Respuesta: Player Spawn -
Xabi - 07.08.2014
Use SetSpawnInfo before SpawnPlayer gets called.