Player keeps Glasses and Hats in Fights Mod 1.0
286
25
286
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.
최초 업로드: 2024년 07월 27일 (토)
마지막 업로드: 2024년 07월 28일 (일)
마지막 다운로드: 24시간 전
댓글 6
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.
최초 업로드: 2024년 07월 27일 (토)
마지막 업로드: 2024년 07월 28일 (일)
마지막 다운로드: 24시간 전
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!