Raised This Month: $ Target: $400
 0% 

how to get server ip when player join?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 06-08-2007 , 07:43   Re: how to get server ip when player join?
Reply With Quote #2

Code:
new NetIp[64]
get_cvar_string("net_address",NetIp,63)
or
Code:
new ip[17]
get_user_ip(0, ip, 16, 0);
greetz regalis
__________________

Last edited by regalis; 06-08-2007 at 07:50.
regalis is offline
 



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 10:34.


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