Plugins snippet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
[[Category:Snippets]]
Sniplets For Plugins
Sniplets For Plugins


Line 9: Line 8:
     netinfo->GetAddress();
     netinfo->GetAddress();
</pre>
</pre>
[[Category:Snippets]]

Revision as of 08:24, 20 May 2007

Sniplets For Plugins

IP Addresses

To get the ip address of a player.

    INetChannelInfo *netinfo = engine->GetPlayerNetInfo(index);
    netinfo->GetAddress();