From d37e02c65cb8768bd16934b5796231585b9fb92c Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Mon, 31 Dec 2007 01:47:33 +0000 Subject: [PATCH] fixed amb1325 - SetEntityHealth() --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401834 --- plugins/include/entity_prop_stocks.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/entity_prop_stocks.inc b/plugins/include/entity_prop_stocks.inc index 20cf2f94..d6690ebb 100644 --- a/plugins/include/entity_prop_stocks.inc +++ b/plugins/include/entity_prop_stocks.inc @@ -155,8 +155,8 @@ stock SetEntityGravity(index, Float:amount) */ stock SetEntityHealth(index, amount) { - SetEntProp(client, Prop_Send, "m_iHealth", health, 1) - SetEntProp(client, Prop_Data, "m_iHealth", health, 1) + SetEntProp(client, Prop_Send, "m_iHealth", amount, 4) + SetEntProp(client, Prop_Data, "m_iHealth", amount, 4) } /**