Raised This Month: $ Target: $400
 0% 

Help Code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-24-2012 , 10:46   Re: Help Code
Reply With Quote #4

PHP Code:
new iPlayersCountInServer get_playersnum); // Players which are connected will be counted
new iPlayersCountInServer get_playersnum); // Same with first + counting connecting players too

new iPlayers32 ] = { 0, ... }, iCount 0;
get_playersiPlayersiCount );

if( 
iCount ) {
  new 
iRandom random_num0iCount );
  new 
iPlayer iPlayersiRandom ];

  new 
cName32 ];
  
get_user_nameiPlayercName31 );


Last edited by claudiuhks; 08-24-2012 at 10:47.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
 



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 05:45.


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