Raised This Month: $ Target: $400
 0% 

Get random spawn coordinates


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ish12321
Veteran Member
Join Date: May 2016
Old 12-30-2016 , 01:37   Re: Get random spawn coordinates
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
Loop through all spawn points in plugin_init and store them in an array, then when you want to teleport the player, simply take a random spawn point from the array.

Answering my own question like a boss.
Small Example ?
How to get all spawn points ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
 



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 22:11.


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