The creators of the Dismemberment mod (jedijosh920 & CamxxCore) allowed me to use their script functions
to hide ped body parts in some of my mods, so, to make it work you need to download and install their
Dismemberment mod (at least put the .asi file in main game folder if you don't want all):

https://www.gta5-mods.com/scripts/dismemberment

Copy the files DismembermentASI.asi and DismembermentWeapons.cfg to gta5.exe folder and then copy
Dismemberment.dll and Dismemberment.ini files to GTA Scripts folder.

Thank you jedijosh920 and CamxxCore :)