A packet sniffer won't work for two reasons.
First off, your computer only has a connection to the server, not the other clients (players)
Secondly, Counter strike runs on the UDP protocol.
It breaks down like this:
The two "connection oriented" protocols used by TCP/IP are TCP and UDP. With TCP, when you send someone a packet, the recipient sends an acknowledgment back saying it received the packet.
With UDP, you send a packet and hope that it gets to the recipient in time and intact. The recipient only receives the packet and doesn't acknowledge that its received. So if the packet is corrupt or late, the recipient throws it out and moves on to the next one.
With counter strike (or just about any game) the server is the center for the reception and distribution of information. So when player A shoots at player B, player A isn't making a UDP connection to player B's computer. Instead, player A is making a UDP connection to the server, which analyzes the data, and then the server makes a UDP connection to player B's computer and sends the data.
So what this means is that the person that told you your IP probably had some program that exploited the server's "status" command in some way. On second thought, it probably sent an RPC (remote procedure call) to the server to have the server send it's TCP/IP connection list. Or something along those lines.
What you need is a program that will gather a remote computer’s connections or something that will exploit the status command on the CS server. I’m guessing that if you find one that will work for any of the quakes or halflife, it will most likely work for CS.
Hope that helps.
-D9K