Coder Social home page Coder Social logo

Comments (1)

atiernan avatar atiernan commented on May 23, 2024 2

Yep, heres an example output of a player:

{
  "name": "<EXAMPLE>",
  "observer_slot": 1,
  "team": "T",
  "state": {
    "health": 80,
    "armor": 90,
    "helmet": true,
    "flashed": 0,
    "burning": 0,
    "money": 4400,
    "round_kills": 1,
    "round_killhs": 0,
    "round_totaldmg": 100,
    "equip_value": 3550
  },
  "match_stats": {
    "kills": 15,
    "assists": 3,
    "deaths": 11,
    "mvps": 2,
    "score": 38
  },
  "weapons": {
    "weapon_0": {
      "name": "weapon_knife_t",
      "paintkit": "default",
      "type": "Knife",
      "state": "holstered"
    },
    "weapon_1": {
      "name": "weapon_p250",
      "paintkit": "am_urban",
      "type": "Pistol",
      "ammo_clip": 13,
      "ammo_clip_max": 13,
      "ammo_reserve": 26,
      "state": "holstered"
    },
    "weapon_2": {
      "name": "weapon_famas",
      "paintkit": "gs_famas_mecha",
      "type": "Rifle",
      "ammo_clip": 25,
      "ammo_clip_max": 25,
      "ammo_reserve": 90,
      "state": "holstered"
    },
    "weapon_3": {
      "name": "weapon_flashbang",
      "paintkit": "default",
      "type": "Grenade",
      "ammo_reserve": 1,
      "state": "active"
    }
  },
  "position": "-113.46, 1871.47, 1687.03",
  "forward": "-0.83, -0.55, -0.11"
}

from node-csgo-gsi.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.