Raised This Month: $32 Target: $400
 8% 

Random locations generator


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 01-12-2018 , 11:40   Re: Random locations generator
Reply With Quote #22

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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode