Raised This Month: $ Target: $400
 0% 

Random player on a team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 10-01-2006 , 02:30   Random player on a team
Reply With Quote #1

I was just wondering if this is the right way to do it and/or a what is a more efficient way to do this.

Code:
get_players(Players, iNum, "ae", "TERRORIST")
while(!is_user_alive(g_var[terrorist]))
{
                               // from 0?
  g_var[terrorist] = random_num(Players[1], Players[iNum])
}
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit 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 04:48.


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