Skip to content

Commit

Permalink
Changes to update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn committed Jan 12, 2024
1 parent 0c815d0 commit d187723
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CSDM/CSDM_Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void CCSDM_Misc::ServerActivate()

this->m_hit_indicator = gCSDM_Util.CvarRegister("csdm_hit_indicator", "0");

this->m_hide_kill_feed = gCSDM_Util.CvarRegister("csdm_hide_kill_feed", "1");
this->m_hide_kill_feed = gCSDM_Util.CvarRegister("csdm_hide_kill_feed", "0");

this->m_money_as_frags = gCSDM_Util.CvarRegister("csdm_money_as_frags", "0");

Expand Down
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# CSDM
Counter Strike 1.6 Deathmatch for ReGameDLL_CS
# CS:DM

<p align="center">Counter Strike 1.6 Deathmatch Plugin for ReGameDLL_CS</p>

## Console Variables
<details>
<summary>Click to expand</summary>

| Variable Name | Default | Description |
|---------------------|:-------:|--------------------------------------------------------------------------|
| csdm_active | 1 | Change variable to enable / disable CS:DM <br>`0` Disable<br>`1` Enable |
| csdm_hide_kill_feed | 0 | Hide other players kill fead and show only yours <br>`0` Disable<br>`1` Enable |
| csdm_hit_indicator | 0 | Indicate when player hit someone on screen <br><br>`0` Disable<br>`1` Show Dot (*)<br>`2` Show crosshair indicator (> <)<br>`3` Show damage (Show damage on screen)<br>`4` Show hitbox (Head, Chest, Stomach etc.) |
| csdm_hs_only_mode | 0 | Only accept hits at head on players <br>`0` Disable<br>`1` Enable |
| csdm_hud_kd_ratio | 1 | Show kill / death ratio, nd headshot percentage in hud message <br>`0` Disable<br>`1` Enable |
| csdm_kill_fade | 2 | Fade screen after a kill <br>`0` Disable<br>`1` Enable<br>`2` For headshots only |
| csdm_kill_hp | 15 | Health healed after a normal kill <br>`0` Disable<br>`value` HP to restore |
| csdm_kill_hp_hs | 40 | Health healed after a headshot kill <br>`0` Disable<br>`value` HP to restore |
| csdm_kill_repair_armor | 1 | Armor restore after a kill <br>`0` Disable<br>`1` Enable<br>`2` For headshots only |
| csdm_kill_hp_msg | 1 | Display amount of health healed after a kill <br>`0` Disable<br>`1` Enable |
| csdm_kill_sound | 0 | Enable kill sound <br>`0` Disable<br>`1` Enable<br>`2` For headshots only |
| csdm_money_as_frags | 0 | Show frags number in money <br>`0` Disable<br>`1` Enable |
| csdm_spawn_edit_admin | "" | CSDM spawn editor access, put here SteamID of who is allowed to edit spawns |
</details>
6 changes: 3 additions & 3 deletions cstrike/addons/csdm/csdm.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ csdm_hide_kill_feed "0"
// 4 Show hitbox (Head, Chest, Stomach etc.)
//
// Defaut "0"
csdm_hit_indicator "4"
csdm_hit_indicator "0"

// Only accept hits at head on players
//
Expand Down Expand Up @@ -89,7 +89,7 @@ csdm_kill_hp_msg "1"
// 2 For headshots only
//
// Defaut "0"
csdm_kill_sound "2"
csdm_kill_sound "0"

// Show frags number in money
//
Expand All @@ -101,7 +101,7 @@ csdm_money_as_frags "0"

// CSDM spawn editor access
//
// Put here who is allowed to edit spawns
// Put here SteamID of who is allowed to edit spawns
// Admin must use 'csdm_edit_spawns' command
//
// Defaut ""
Expand Down

0 comments on commit d187723

Please sign in to comment.