Jump to content

How "SetBleeding(boolean)" work?


DarkKreepe

Recommended Posts

local leftUpperLeg  = getPlayer():getBodyDamage():getBodyPart(BodyPartType.FromIndex(BodyPartType.ToIndex(BodyPartType.UpperLeg_L)));
leftUpperLeg:setBleeding(false);
getPlayer():getBodyDamage():SetScratched(getPlayer():getBodyDamage():getBodyPart(BodyPartType.Hand_R), false);

 

I have tried both of these functions, but none of them does not work... 

I need to heal a scratch on the character body and stop the bleeding.

Edited by DarkKreepe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...