[sStandalone] Mask Clipping Fix – Add-on Masks Support (Rework)

:brain: [Standalone] Mask Clipping Fix – Add-on Masks Support (Rework)

Hey everyone :wave:

This is a reworked version of the original Mask Clipping Fix, now fully compatible with add-on masks :goggles:


:sparkles: Features

  • :white_check_mark: Works with add-on masks (not limited to base GTA masks)
  • :zap: Improved component detection and code optimization
  • :jigsaw: Still standalone – works with any framework (ESX, QB, etc.)
  • :wrench: Easy to install and configure

:package: Installation

  1. Download from GitHub → Benewww/mask-fix
  2. Place it in your resources folder
  3. Add ensure mask-fix to your server.cfg
  4. Enjoy a clean mask experience with no clipping issues :sunglasses:

:label: Credits


:speech_balloon: Feedback and improvements are always welcome!
Feel free to open an issue or a pull request on GitHub if you find a bug or want to contribute.

6 Likes

Besides deleting code comments and having an AI forum post, what exactly was improved?
Not trying to sound like a hater, but the reason my script does not work on some addon masks is because they lack flags.

Yeah, must say that the code is mostly identical. Releasing it as a (Rework) instead of just commiting on GitHub is strange.

I didn’t clean up the code, I just adapted it so it works with masks that don’t have the shrink_head flag.

Last time I will comment on this post.
I’m really not trying to be a prick, but honestly that seems a bit odd. I can’t really spot the logic change in the code (I’m on phone). As I stated before - I really think it’s better practice to just develop assets with proper flags instead of trying to fix it with code. Maybe some people have a use for this, but it is not really meant to work on masks without it. May I ask how this rework detects when faces should be shrunk?