Raised This Month: $ Target: $400
 0% 

Get random spawn coordinates


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-29-2016 , 20:42   Re: Get random spawn coordinates
Reply With Quote #6

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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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