How to get a players ping

Discussion in 'Resources' started by chdxD1, Aug 27, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    chdxD1

    Raiden200 likes this.
  2. Offline

    HollowCube

    Let's paste this here, just in case:

    PHP:
    public int getPing(Player p) { CraftPlayer cp = (CraftPlayerpEntityPlayer ep cp.getHandle(); return ep.ping; }
     
  3. Offline

    Milkywayz

    Nocheatplus should use this to determine if someone is lagging or not
     
  4. Offline

    Gravity

    Cirno and WarmakerT like this.
  5. Offline

    p000ison

Thread Status:
Not open for further replies.

Share This Page