Need quick answer! - 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: Need quick answer! (
/showthread.php?tid=434910)
Need quick answer! -
EdvinasStudio - 04.05.2013
Hello scripters,
I'm asking you, how can i make force spawn on player login to server?
Re: Need quick answer! -
zombieking - 04.05.2013
SpawnPlayer I guess?
Re: Need quick answer! -
Dennis_Smith - 04.05.2013
In the OnGameModeInit set the position for AddPlayerClass to where you'd like them to spawn.
You can use a float X Y Z and a facing angle.
https://sampwiki.blast.hk/wiki/AddPlayerClass
Re: Need quick answer! -
EdvinasStudio - 04.05.2013
Quote:
Originally Posted by zombieking
SpawnPlayer I guess?
|
Thanks.
AW: Need quick answer! -
Nero_3D - 04.05.2013
You need to use SetSpawnInfo before you use SpawnPlayer