Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Brenbot Plugin
Re: Brenbot Plugin [message #400908 is a reply to message #400153] Sun, 30 August 2009 21:01 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
another question. How do i get player ip when they join the game.

I did this when player joined , but wont get player that joined since hes not on the list yet.

		my %playerlist = playerData::getPlayerList();
		while ( my ( $id, $player ) = each ( %playerlist ) )
		{
			#$player{'name'} = $1;
			#brIRC::ircmsg( "[BR] $player->{'ip'} ." );
			modules::RenRemCMD( "player_info" );
			brIRC::ircmsg( "9 [DEBUG] GOT Player Name 7 $player->{'name'} 4 $player->{'ip'}  7 Ping 4 $player->{'ping'} ", "A" );
		}



http://s18.postimage.org/jc6qbn4k9/bricks3.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Server crash when loaded C&C_Under.mix edit
Next Topic: Leveledit
Goto Forum:
  


Current Time: Sun Nov 24 02:43:54 MST 2024

Total time taken to generate the page: 0.00817 seconds