SA-MP Forums Archive
spawning all around the world (Randomspawns) - 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: spawning all around the world (Randomspawns) (/showthread.php?tid=581780)



spawning all around the world (Randomspawns) - Lukasz56 - 15.07.2015

Hey guys , can someone help me out ? how i can make that players spawned , would randomly be teleported to some place - not just one but just random places.

Thanks.


Re: spawning all around the world (Randomspawns) - JaydenJason - 15.07.2015

https://sampforum.blast.hk/showthread.php?tid=162488

ever heard of search?


Re: spawning all around the world (Randomspawns) - Lukasz56 - 15.07.2015

I said , i just don't want one spawn . I need that whenever u spawn it should teleport to a random GTA location .


Re: spawning all around the world (Randomspawns) - JaydenJason - 15.07.2015

https://sampforum.blast.hk/showthread.php?tid=162488


Re: spawning all around the world (Randomspawns) - Lukasz56 - 15.07.2015

Quote:
Originally Posted by JaydenJason
Посмотреть сообщение
U don't understand me clearly .


Re: spawning all around the world (Randomspawns) - Darkwood17 - 15.07.2015

Quote:
Originally Posted by Lukasz56
Посмотреть сообщение
I said , i just don't want one spawn . I need that whenever u spawn it should teleport to a random GTA location .
You have to save your locations to make random spawns. The way you want may be buggy, because the player should be spawned in water, under the ground or inside objects.

Maybe you can try using SetPlayerPosFindZ.


Re: spawning all around the world (Randomspawns) - Lukasz56 - 15.07.2015

But the problem is that i want to make spawn all around GTA map , so i need to save every location ? if yes , this is a real pain in the ass


Re: spawning all around the world (Randomspawns) - fuckingcruse - 15.07.2015

Its not a big mess.. its easy to set random spawn.. as said by the fellow mates


Re: spawning all around the world (Randomspawns) - Lukasz56 - 15.07.2015

I know , but i need to do it on all the world not just one city .


Re: spawning all around the world (Randomspawns) - fuckingcruse - 15.07.2015

Ye its easy .. not a big mess.. I mean really easy