View Single Post
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 01-12-2018 , 11:40   Re: Random locations generator
Reply With Quote #21

Quote:
Originally Posted by edon1337 View Post
Would I be able to use this to spawn players in the highest map point but making sure they'll fall into a safe place (not in water or any other unsafe zone) also to have a minimal distance (enough to not stuck a player into another) between players?
Yes, but have two ways of use this

1. Caching spawns positions like csdm: Create spawns -> Cache -> Use in a static (Read spawns.txt file)
2. Dynamically creating and use without store spawns.

I prefer first way so you can edit spawn points, removing that you do not want. And finally store removed spawns to not be generated again.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY