Plugins snippet
Jump to navigation
Jump to search
Sniplets For Plugins
IP Addresses
To get the ip address of a player.
int index = engine->IndexOfEdict(pEntity); INetChannelInfo *netinfo = engine->GetPlayerNetInfo(index); const char *ip = netinfo->GetAddress();