Description
Mod Enables Players to Wear Accessories During Combat
I'm one of those people who play singleplayer but not with the main characters. One annoying thing is that when you're hit with a fist, your hat and glasses fall off if you're not playing as one of the three protagonists. This happens for GTA Online Freemode peds. GTA Online solves this by setting a function to false. This small script ensures that props cannot fall off the player no matter which ped they play as.
REQUIREMENTS
- Script Hook V
- Script Hook V .NET
INSTALLATION
Drag and drop "KeepGlassesMod.cs" into your "scripts" folder.
ATTRIBUTION
I got the function from here.
Because I'm not very good at coding, ChatGPT helped me turn my ideas into code—and it didn't quite manage to add an ini or a hotkey.
If you want to add a hotkey or a toggle, or even have this apply to other NPCs, feel free.
First time coding for GTA V—sorry.
First Upload: November 11, 2024 Last Updated: November 11, 2024