ZR: Correct item_kevlar and add all other items.
This commit is contained in:
parent
323d46bbc2
commit
208ddb392d
@ -1216,7 +1216,7 @@
|
|||||||
{
|
{
|
||||||
// General
|
// General
|
||||||
|
|
||||||
"weaponentity" "item_kevlar"
|
"weaponentity" "item_assaultsuit"
|
||||||
"weapontype" "All, Equipment"
|
"weapontype" "All, Equipment"
|
||||||
"weaponslot" "5"
|
"weaponslot" "5"
|
||||||
|
|
||||||
|
|||||||
@ -804,7 +804,7 @@
|
|||||||
{
|
{
|
||||||
// General
|
// General
|
||||||
|
|
||||||
"weaponentity" "item_kevlar"
|
"weaponentity" "item_assaultsuit"
|
||||||
"weapontype" "All, Equipment"
|
"weapontype" "All, Equipment"
|
||||||
"weaponslot" "5"
|
"weaponslot" "5"
|
||||||
|
|
||||||
|
|||||||
@ -1087,10 +1087,22 @@ stock bool:ZMarketEquip(client, const String:weapon[], bool:rebuy = false)
|
|||||||
|
|
||||||
int entity = INVALID_ENT_REFERENCE;
|
int entity = INVALID_ENT_REFERENCE;
|
||||||
if (StrEqual(weaponentity, "item_kevlar"))
|
if (StrEqual(weaponentity, "item_kevlar"))
|
||||||
|
{
|
||||||
|
SetEntProp(client, Prop_Send, "m_ArmorValue", 100);
|
||||||
|
}
|
||||||
|
else if (StrEqual(weaponentity, "item_assaultsuit"))
|
||||||
{
|
{
|
||||||
SetEntProp(client, Prop_Send, "m_ArmorValue", 100);
|
SetEntProp(client, Prop_Send, "m_ArmorValue", 100);
|
||||||
SetEntProp(client, Prop_Send, "m_bHasHelmet", 1);
|
SetEntProp(client, Prop_Send, "m_bHasHelmet", 1);
|
||||||
}
|
}
|
||||||
|
else if (StrEqual(weaponentity, "item_defuser"))
|
||||||
|
{
|
||||||
|
SetEntProp(client, Prop_Send, "m_bHasDefuser", 1);
|
||||||
|
}
|
||||||
|
else if (StrEqual(weaponentity, "item_nvgs"))
|
||||||
|
{
|
||||||
|
SetEntProp(client, Prop_Send, "m_bHasNightVision", 1);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Give client the weapon.
|
// Give client the weapon.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user