Skip to content

Commit

Permalink
Updated to v2.0.4d
Browse files Browse the repository at this point in the history
- Fixed: Chest armor not working if full armor wasn't selected, thanks
to sk1ll.
  • Loading branch information
Maxximou5 authored and Maxximou5 committed Sep 24, 2015
1 parent 5b8c7f0 commit 5ca7f59
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v2.0.4d:
- Fixed: Chest armor not working if full armor wasn't selected, thanks to sk1ll.

v2.0.4c:
- Added: BuildPaths, you can now utilize different SM paths.
- Added: Brazilian translation. Credit: Rbt
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### [CS:GO] Deathmatch (v2.0.4a, 2015-09-06)
### [CS:GO] Deathmatch (v2.0.4d, 2015-09-06)
<a href="http://www.maxximou5.com/"><img src="http://maxximou5.com/sourcemod/assests/img/deathmatch_csgo.png" alt="csgo deathmatch plugin" width="600" /></a>
===============

Expand Down Expand Up @@ -76,7 +76,8 @@ Enables deathmatch style gameplay (respawning, gun selection, spawn protection,
- dm_hp_nade - (Default) 30 - HP per nade kill.
- dm_hp_messages - (Default) 1 - Display HP messages.
- dm_nade_messages - (Default) 1 - Display grenade messages.
- dm_armour - (Default) 1 - Give players armor.
- dm_armor - (Default) 0 - Give players chest armor.
- dm_armor_full - (Default) 1 - Give players full armor.
- dm_zeus - (Default) 0 - Give players a taser.
- dm_nades_incendiary - (Default) 0 - Number of incendiary grenades to give each player.
- dm_nades_molotov - (Default) 0 - Number of molotov grenades to give each player.
Expand Down
Binary file modified deathmatch.zip
Binary file not shown.
Binary file modified plugins/deathmatch.smx
Binary file not shown.
6 changes: 3 additions & 3 deletions scripting/deathmatch.sp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#undef REQUIRE_PLUGIN
#include <updater>

#define PLUGIN_VERSION "2.0.4c"
#define PLUGIN_VERSION "2.0.4d"
#define PLUGIN_NAME "Deathmatch"
#define UPDATE_URL "http://www.maxximou5.com/sourcemod/deathmatch/update.txt"

Expand Down Expand Up @@ -1239,12 +1239,12 @@ public Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
SetEntData(client, armorOffset, 100);
SetEntData(client, helmetOffset, 0);
}
if (armorFull)
else if (armorFull)
{
SetEntData(client, armorOffset, 100);
SetEntData(client, helmetOffset, 1);
}
else
else if (!armorFull || !armorChest)
{
SetEntData(client, armorOffset, 0);
SetEntData(client, helmetOffset, 0);
Expand Down
9 changes: 4 additions & 5 deletions update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
{
"Version"
{
"Latest" "2.0.4c"
"Previous" "2.0.4b"
"Latest" "2.0.4d"
"Previous" "2.0.4c"
}

"Notes" "Changes in 2.0.4c:"
"Notes" "Added: BuildPaths, you can now utilize different SM paths."
"Notes" "Added: Brazilian translation. Credit: Rbt"
"Notes" "Changes in 2.0.4d:"
"Notes" "Fixed: Chest armor not working if full armor wasn't selected, thanks to sk1ll."
}

"Files"
Expand Down

0 comments on commit 5ca7f59

Please sign in to comment.