Raised This Month: $ Target: $400
 0% 

Random player help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
purple nurple
Senior Member
Join Date: Jun 2007
Location: US Missouri
Old 10-25-2007 , 21:38   Random player help
Reply With Quote #1

All right I got it to choose a random person but how can i make it choose a team only like i only want cts to be random?? please help if you can
PHP Code:
public random_zombie()
{    
    if(
get_pcvar_num(zlevel) > 19)
    {
        new 
players[32], totalplayers
        get_players
(playerstotalplayers//any way here i can make it choose ct only?
        
        
        
if (!neme)
            
neme random_num(1totalplayers)
        
            
superplayer(neme)
            
    }
    

purple nurple 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 01:23.


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