Raised This Month: $ Target: $400
 0% 

Hide and seek


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 03-11-2005 , 21:31   Hide and seek
Reply With Quote #1

Ok i need to make a hide and seek plugin real quick.
I need a command to like randomly pick someone in the server to be "it" every round.
Just a random picker thing
__________________
"Every man is guilty of all the good he did not do"
DiscoBBQ is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 03-11-2005 , 21:32  
Reply With Quote #2

store in an array a set of id's who are in the server
do the random number function between 1 and whatever the amount of id's are stored
use what ever number the random function returned and get the id in array[theitman]
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Reply



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 14:12.


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