Player keeps Glasses and Hats in Fights Mod V1.0

Player keeps Glasses and Hats in Fights Mod 1.0

OK, so I’m one of those weirdos who play singleplayer but not with the three main characters.

One annoying thing is that, if you’re not playing as one of the three protagonists, when you get hit with a fist, your hat and glasses will fall off. This is the case for the GTA Online Freemode peds.

GTA Online solves this problem by setting a function thing to false. This small script makes sure props cannot fall off the player, no matter what ped they play as.

REQUIREMENTS:
Script Hook V
Script Hook V .NET

INSTALLATION
Drag and drop “KeepGlassesMod.cs” into your “scripts” folder.

ATTRIBUTION
Got the function from here.

Because I’m barely functioning when it comes to coding, ChatGPT helped turned my stupid ideas into code—and it kinda failed adding an ini or a hotkey.

If you want to add a hotkey or a toggle—or even have this apply to other NPCs—then be my guest.

Credits:

lasejif952

Download mod

FileFile size
zip GTA V Keep Glasses and Hats Mod (Player)2 KB

Leave a Reply

Your email address will not be published. Required fields are marked *