SA-MP Forums Archive
Set newbie 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: Set newbie spawn ? (/showthread.php?tid=559238)



Set newbie spawn ? - LambertRoleplay - 21.01.2015

how do i set the newbie spawn its already there but i cant find it in my script.
onplayerspawn doesnt have any coordinates just something about npc, any help ?
or can i just set a new spawn maybe thats default spawn if so please give the the full code including onplayerspawn so i know what to do thanks :3 i know how to set pos and everything i just cant find the line where its at -.-


Re: Set newbie spawn ? - Ironboy - 21.01.2015

AddPlayerClass does this spawn for now, you can find it under OnGameModeInit callback https://sampwiki.blast.hk/wiki/AddPlayerClass


Re: Set newbie spawn ? - LambertRoleplay - 21.01.2015

Thanks i found it but umm one problem... when i got to the position it is where you spawn in that escalator place not the newbie spawn


Re: Set newbie spawn ? - Hybris - 22.01.2015

Type /save at the location where you want to spawn then go in the documents/gta sa user files/SAMP/savedpositions and just add that line to OnGameModeInit.
If you want to do multiple random spawn points I suggest you follow this tutorial.
https://sampforum.blast.hk/showthread.php?tid=162488


Re: Set newbie spawn ? - LambertRoleplay - 22.01.2015

i think i found it, it was after the tutorial thanks guys