Raised This Month: $ Target: $400
 0% 

ID of an Random T


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 06-27-2010 , 15:33   Re: ID of an Random T
Reply With Quote #4

Quote:
Originally Posted by hleV View Post
PHP Code:
new players[32], num;
get_players(playersnum"a""TERRORIST");
 
new 
players[random(num)]; 
So easy? Is this going to work fine, without bugs?

@xPaw thanks. Im going to use ur code if the easier one dont work =)
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers

Last edited by mottzi; 06-28-2010 at 04:00.
mottzi is offline
Send a message via MSN to mottzi
 



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:47.


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