Quote:
Originally Posted by Ilusion9
100% this entity has a netprop called m_iHealth, you can start with this.
|
I tried with
PHP Code:
int shield = GivePlayerItem(client, "weapon_shield");
SetEntProp(shield, Prop_Data, "m_iHealth", 999999999);
and
PHP Code:
int shield = GivePlayerItem(client, "weapon_shield");
SetEntProp(shield, Prop_Data, "m_takeDamage", 0, 1);
but didnt work. Also teammates can break your shield. I will continue trying.
__________________