AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hide and seek (https://forums.alliedmods.net/showthread.php?t=11191)

DiscoBBQ 03-11-2005 21:31

Hide and seek
 
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

TotalNoobScripter 03-11-2005 21:32

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]


All times are GMT -4. The time now is 14:12.

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