Code:
static szIP[ 16 ], szCountry[ 32 ], szCity[ 32 ];
get_user_ip( id, szIP, charsmax( szIP ) );
geoip_country( szIP, szCountry, charsmax( szCountry ) );
geoip_city( szIP, szCity, charsmax( szCity ) );
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d - %L %d^nCountry: %s - City: %s", ID_SHOWHUD, "SPECTATING", g_playername[id],pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id], ID_SHOWHUD, "ARMOR", pev(id, pev_armorvalue), szCountry, szCity)