Skip to content

Commit

Permalink
Merge branch 'hotfix/v1.0.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
kgns committed Sep 4, 2017
2 parents 3baa6cf + c4f3790 commit ba37c18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified addons/sourcemod/plugins/weapons.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/weapons.sp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Plugin myinfo =
name = "Weapons & Knives",
author = "kgns - wasdzone",
description = "All in one custom weapon management",
version = "1.0.9",
version = "1.0.10",
url = "http://www.wasdzone.com"
};

Expand Down
2 changes: 2 additions & 0 deletions addons/sourcemod/scripting/weapons/hooks.sp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public void GiveNamedItem(int client, const char[] classname, const CEconItemVie
{
if (IsKnifeClass(classname))
{
/*
int defIndex;
g_smWeaponDefIndex.GetValue(g_WeaponClasses[g_iKnife[client]], defIndex);
char knifeClassName[32];
Expand All @@ -64,6 +65,7 @@ public void GiveNamedItem(int client, const char[] classname, const CEconItemVie
AcceptEntityInput(entity, "KillHierarchy");
entity = PTaH_SpawnItemFromDefIndex(defIndex, origin, angles);
}
*/
EquipPlayerWeapon(client, entity);
}
SetWeaponProps(client, entity);
Expand Down

0 comments on commit ba37c18

Please sign in to comment.