Raised This Month: $ Target: $400
 0% 

String + server ip


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
anupm
Senior Member
Join Date: May 2010
Old 04-08-2011 , 15:19   String + server ip
Reply With Quote #1

I need to store the server ip to a variable .

Like

new ip[32]
get_user_ip(0, ip, charsmax(ip))

it will give me the ip with port . like 111.111.111.111:27015
But i need only the IP . i.e. I need 111.111.111.111 here .
How to do it ?
anupm 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 20:01.


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