SA-MP Forums Archive
How to set different spawns? - 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: How to set different spawns? (/showthread.php?tid=147820)



How to set different spawns? - MastahServers - 14.05.2010

Like, if you join, and you die, you go to a new spawn. How do you do that?


Re: How to set different spawns? - johnnyc - 14.05.2010

OnPlayerSpawn,(WIKI) you can also get the pos from the /save IG.


Re: How to set different spawns? - playbox12 - 14.05.2010

Quote:
Originally Posted by MastahServers
Like, if you join, and you die, you go to a new spawn. How do you do that?
Make random spawns, *search button*


Re: How to set different spawns? - MastahServers - 14.05.2010

Quote:
Originally Posted by playbox12
Quote:
Originally Posted by MastahServers
Like, if you join, and you die, you go to a new spawn. How do you do that?
Make random spawns, *search button*
Thanks, I also used the search button, but on a different way, I used 'SA:MP different spawns' :P


Re: How to set different spawns? - TheNuttyScientist - 14.05.2010

OnPlayerSpawn

Use /save in debug or in another server to get spawn positions.


Re: How to set different spawns? - MastahServers - 14.05.2010

Did, compiled, restarted the GMX, but still not working


Re: How to set different spawns? - Minio1822 - 14.05.2010

Try to add this (works on my gm):
pawn Код:
new Float:gRandomPlayerSpawns[2][3] = {
{2229.3,-1159.5,25.8}, // Jefferson
{1574.0372,-1280.7061,17.4874} // ST
};