View Single Post
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-08-2012 , 14:58   Re: Module: CS Team Changer [avoids crashes in aggressive changes]
Reply With Quote #18

PHP Code:
static iSurvivoriPlayers32 ], iNumi;
iSurvivor GetRandomAlive( );
get_playersiPlayersiNum"a" );

for( 
0iNumi++ )
  if( 
iPlayers] != iSurvivor MakeZombieiPlayers] );

MakeSurvivoriSurvivor );



GetRandomAlive( )
{
  static 
iPlayers32 ], iNum;
  
get_playersiPlayersiNum"a" );

  return 
iPlayersrandom_num0iNum ) ];

It's impossible to give a bad result...
__________________

Last edited by claudiuhks; 02-08-2012 at 15:00.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks