SA-MP Forums Archive
How would I create random seperate 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)
+--- Thread: How would I create random seperate spawns (/showthread.php?tid=603712)



How would I create random seperate spawns - Dinoo - 26.03.2016

I am making a minigame where up to 10 people join at once.

When the game starts after the counter I want 7 patriots to spawn and a bullet.

The bullet being the get away driver on one team, and the other 9 people will fit into 7 patriots at random.

The get away driver would be randomly picked from the 10 players as well.


10 people join game > 9 people will be teleported to patriots and one person will be teleported to a bullet when the game starts

Any help will be given +rep, thank you!


Re: How would I create random seperate spawns - Melktert - 26.03.2016

Go in game on random positions you want the spawns then use "/save" on each of those positions, then goto your userfiles in Documents there will be a text file called saves or coordinates/coords.


Re: How would I create random seperate spawns - Joron - 26.03.2016

https://sampforum.blast.hk/showthread.php?tid=162488
Could learn how to do it