Raised This Month: $ Target: $400
 0% 

Getting ip + port from file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-05-2013 , 11:47   Re: Getting ip + port from file
Reply With Quote #4

Quote:
Originally Posted by AwesomeMan View Post
Thanks, I will use strtok. If I have any issue i will post.
Hmm, Im doing it purely for experience. Im still learning and i want to improve.

It's such a small function that a tutorial would not be appropriate for that function alone. However, the function is well documented in the include files:

http://hg.alliedmods.net/amxmodx-cen...tring.inc#l154

If you are trying to learn, I suggest that you don't do anything with IPs (because there is no good use for them). If you want to work with something that uniquely identifies a player, work with SteamIDs.
__________________

Last edited by fysiks; 08-05-2013 at 11:48.
fysiks 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 15:47.


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