Player keeps Glasses and Hats in Fights Mod 1.0
444
26
444
26
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
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.
First time coding for GTA V—sorry.
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.
First time coding for GTA V—sorry.
Poprvé nahráno: 27. červenec 2024
Poslední aktulizace: 28. červenec 2024
Last Downloaded: 15 hours ago
9 Komentářů
More mods by lasejif952:
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
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.
First time coding for GTA V—sorry.
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.
First time coding for GTA V—sorry.
Poprvé nahráno: 27. červenec 2024
Poslední aktulizace: 28. červenec 2024
Last Downloaded: 15 hours ago
I wonder if you can do the opposite for the three main characters. This reminds me of GTA IV
I reckon the best thing would be a toggle - press a key and your playable can lose/keep props when damaged. Not too sure when/if I'll get to that, but I'll keep it in mind.
''OK, so I'm one of those weirdos who play singleplayer but not with the three main characters.'' - lasejif952
''oh look it's me !'' - SalsaCookies23
Damn, wanted this for years! Thank you
what about a mod where if you play as any ped other than the main characters all scenarios are disabled? ie the return the wallet, stolen car, strangers and freaks, etc. or one where if you're a random ped non main character your phone contacts will be empty other than taxi, emergency services and any ifruitaddons
great mod!
@lasefjif952 useful, very nice!
@jazzysoggy12 That's literally how the game works if you play as a ped without using the Character Swap mod... Are you high?
@lasejif952 You're not a "weirdo". Weirdos are those that, for some reason, try to shame you if you rather play with a visually pleasing character rather than 3 butt-ugly blobs we are stuck with if we play without mods.
Also, I'm eager to try this one. Something so simple but I've wanted it for YEARS.
Thanks.