Player keeps Glasses and Hats in Fights Mod 1.0
303
25
303
25
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.
İlk Yüklenme Zamanı: 27 Temmuz 2024, Cumartesi
Son Güncellenme Zamanı: 28 Temmuz 2024, Pazar
Last Downloaded: 15 hours ago
6 Yorum
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.
İlk Yüklenme Zamanı: 27 Temmuz 2024, Cumartesi
Son Güncellenme Zamanı: 28 Temmuz 2024, Pazar
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!