When logged in. you need to press 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: When logged in. you need to press SPAWN (
/showthread.php?tid=442203)
When logged in. you need to press SPAWN -
DaDenz - 06.06.2013
hellow
i have a question!
when players log in.
they first need to press Spawn first before spawning.
i want that they spawn directly when they log in.
hope you guys can help me!
Re: When logged in. you need to press SPAWN -
dovyansas - 06.06.2013
SpawnPlayer(playerid);
Insert this into your login script end.
Re: When logged in. you need to press SPAWN -
Facerafter - 06.06.2013
You can add TogglePlayerSpectating(playerid, 1) after your register/login dialog. And at the end before spawing add TogglePlayerSpectating(playerid, 0) than SpawnPlayer(playerid). In that way you make the spawn buttons invisible, en make your players spawn automaticlly