Plugins snippet

From Valve Developer Community
Jump to navigation Jump to search

Sniplets For Plugins

IP Addresses

To get the ip address of a player.

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