Jump to content

Recommended Posts

I am trying to make it so when I heal myself or others players it heals to 100% with a FaK but can only seem to get it to work when I heal myself 

 

this is what im using at the moment 

player	_this spawn {
		params ["_injured","_healer"];
		_damage = damage _injured;
		if (_injured == _healer) then {
			waitUntil {damage _injured != _damage};
			if (damage _injured < _damage) then {
				_injured setDamage 0;
			};
		};
	};
}];

 

Share this post


Link to post
Share on other sites

Because you have:

if (_injured == _healer) then {

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×