Raised This Month: $ Target: $400
 0% 

Connect IP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 03-28-2009 , 07:20   Connect IP
Reply With Quote #1

Can some one make a plugin that shows the ip of a player when he connects in server and the pugin displays the name and IP of the player in HLDS/ console ...

Last edited by Swuifti; 03-28-2009 at 07:24.
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
Darknightcze2
Junior Member
Join Date: Oct 2008
Location: Czech Republic! - Middle
Old 03-28-2009 , 08:13   Re: Connect IP
Reply With Quote #2

HLDS always show connect message in console

Example:
Code:
"urcite<328><STEAM_0:0:xxxxxx><>" connected, address "93.91.144.xx:27005"
if you mean plugin which displays a connect message in chat, so try this:

use SEARCH! http://forums.alliedmods.net/showthread.php?p=555912
__________________

Darknightcze2 is offline
Send a message via ICQ to Darknightcze2
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 03-28-2009 , 08:20   Re: Connect IP
Reply With Quote #3

maybe i had put a cvar not to show the ip do you know that cvar ?
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 03-28-2009 , 08:30   Re: Connect IP
Reply With Quote #4

Code:
#include <amxmodx>   // Comment/uncomment these as you want #define CONNECTING // Show name & IP while connecting? //#define CONNECTED // Show name & IP after connected?   public plugin_init()         register_plugin("Connection Info in Console", "1.0", "hleV");   #if defined CONNECTING public client_connect(Client) {         new Name[32], IP[32];           get_user_name(Client, Name, 31);         get_user_ip(Client, IP, 31, 1);         server_print("%s (IP: %s) is connecting to server", Name, IP); } #endif   #if defined CONNECTED public client_putinserver(Client) {         new Name[32], IP[32];           get_user_name(Client, Name, 31);         get_user_ip(Client, IP, 31, 1);         server_print("%s (IP: %s) has connected to server", Name, IP); } #endif
__________________
hleV is offline
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 03-28-2009 , 09:24   Re: Connect IP
Reply With Quote #5

Bravo thank you
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
Reply



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 20:13.


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