Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLWM committed Feb 20, 2021
1 parent 534f10c commit 56b7681
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ or
``` js
const CSGOGSI = require("node-csgo-gsi");
let gsi = new CSGOGSI({ options });
gsi.on("event", function("optional data") {

gsi.on("EVENT_NAME", function("optional data") {
// EVENT_NAME is the individual event name below. Look into the example/index.js for more information
});
```

Expand Down Expand Up @@ -125,8 +125,8 @@ Example
#### bombTimeLeft (returns Float)
- Returns planted C4 time left.

## WARNING
C4 timer is not accurate. CS:GO does not return a real time updates when the bomb is planted, thus, do just look for the `bombState` event instead of relying on the timer.
## WARNING ⚠️
C4 timer (`bombTimeLeft` event) is not accurate. CS:GO does not return a real time update when the bomb is planted. It's just an estimation on the library's side. Thus, do just look for the `bombState` event instead of relying on the timer.

## Todo
- None for now. Open an issue!
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-csgo-gsi",
"version": "0.0.4-alpha.1",
"version": "0.0.4-alpha.2",
"description": "Counter-Strike: Global Offensive Game State Integration for nodejs. https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 56b7681

Please sign in to comment.