/// <summary> /// Kill the ped, just providing a killer /// </summary> public bool Kill(SharedPed killer) { return(MtaShared.KillPed(element, killer.MTAElement, 255, 255, false)); }
/// <summary> /// Kill the ped with a killer, a weapon and a bodypart /// </summary> public bool Kill(SharedPed killer, SharedWeaponModel weapon, BodyPart bodyPart, bool stealth = false) { return(MtaShared.KillPed(element, killer.MTAElement, weapon.ID, (int)bodyPart, stealth)); }