Because of the name i guess the cvars "hostip" and "hostport" are containing the data you are searching.
const ConVar *hostip= cvar->FindVar( "hostip" ); const ConVar *hostport = cvar->FindVar( "hostport" ); -archy Janek Le_Vert wrote:
-- [ Picked text/plain from multipart/alternative ] I wanted to say an SDK function, not a console command. NB : pls blame MS for the concatenated text ;-(> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: [hlcoders] Server address> Date: Tue, 30 Oct 2007 08:09:08 -0600> > --> [ Picked text/plain from multipart/alternative ]> Type "status" in the console.> > On 10/30/07, Janek Le_Vert <[EMAIL PROTECTED]> wrote:> >> > --> > [ Picked text/plain >from multipart/alternative ]> >> > Hi all,> >> > Does any of you knows how to get IP address and port of the server on> > which a player is client side ?> > Does any of you knows how to get IP address and port of the server server> > side ?> >> > Is there functions for that ?> >> > NB : I'm sorry for the other answers which are concatenating all previous> > answer, but hotmail seems having a very big trouble.> > _________________________________________________________________> > Votez pour vos séries TV préférées et tentez de gagner un voyage à Hawaï !> > http://messengerawards.divertissements.fr.msn.com/> > --> >> > _______________________________________________> > To unsubscribe, edit your list preferences, or view the list archives,> > please visit:> > http://list.valvesoftware.com/mailman/listinfo/hlcoders> >> >> --> > _______________________________________________> To unsubscribe, edit your list preferences, or view the list archives, please visit:> http://list.valvesoftware.com/mailman/listinfo/hlcoders> _________________________________________________________________ Vous êtes plutôt Desperate ou LOST ? Personnalisez votre PC avec votre série TV préférée ! http://specials.divertissements.fr.msn.com/SeriesTV.aspx -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

