Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fixed Weapon Swapping 1.1.0

(3 reviews)

1 Screenshot

What is Fixed Weapon Swapping?

An annoying bug (or poorly thought-out feature) exists in Grand Theft Auto V vanilla and this mod aims to fix that. Traditionally, whenever you exit a vehicle and immediately try to equip a weapon, the weapon you select in the weapon wheel will not equip at all. This is a major inconvenience as detailed by the video below:

 

https://youtu.be/i5WMtTvuVBo?t=23m56s

 

Installation for Grand Theft Auto V

Install ScriptHookV

Install ScriptHookVDotNet

Create a "scripts" folder in your root GTA V directory if it doesn't exist already.

Drag and drop "CubFixedWeaponSwapping.dll" into your "scripts" folder.

Load the game and enjoy!

 

How do I use this mod?

There's no catch to using this mod. It is streamline and will only positively affect your LSPDFR experience. When pulling up to a scene urgently and you need to pull your weapon quickly, no longer will you be as plagued.

 

How does it work technically?

This works by disabling the control to open your weapon wheel as soon as you "leave" the vehicle. The controls are then re-enabled quickly. This allows your character to wait until you are technically out of your vehicle, which allows full weapon wheel functionality. The only down-side of doing it this way is the minor additional delay added (about 0.3 second delay) when accessing your weapons. Full source can be found here. Feel free to give me suggestions as to how I can improve it

 

Enjoy. Inspired by Jeff Favignano and his struggles. Credit to PNWParksFan and Fiskey111 for some additional help and inspiration :smile:

 

Virus Scan

What's New in Version 1.1.0

Released

Various new functions to decrease file size and keep everything clean and optimized.

User Feedback

Recommended Comments

Narobic

Members

So this doesn't "fix" the issue, just delays the time until you can open the wheel?

Cadabas

Members

He shortened the time it takes to pull you weapon out when exiting a vehicle, basically so that you can pull you weapon out faster. Good Job. 

 

So I tested this briefly while playing. He says that it is a delay however when playing I am able to pull my weapon out quicker than when I did not have the mod installed. Thanks for this I appreciate it. Often times I have to select my weapon twice in order to pull it out, which we all know is not ideal on some stops and or situations. I was pleasantly surprised. This could become a staple mod. The community will decide. Thanks.

 

Hystery

Members

I know this is a thing that really irritates me when playing Online. Thank you for removing it from the solo.

Cub

Members Author

9 hours ago, Narobic said:

So this doesn't "fix" the issue, just delays the time until you can open the wheel?

Technically yes, but if you compare it to the vanilla GTA V, you can see that this is a lot better. Unfortunately there is no real way for me to fix this without diving into the core game, but I haven't seen anybody else have a go at fixing this issue so this is the best I can make right now

Requies

Insiders

Awesome idea! I'll be checking this out now. Looks like a great quality of life tweak.

Narobic

Members

2 hours ago, Cub said:

Technically yes, but if you compare it to the vanilla GTA V, you can see that this is a lot better. Unfortunately there is no real way for me to fix this without diving into the core game, but I haven't seen anybody else have a go at fixing this issue so this is the best I can make right now

Gotcha. Just wanted to clarify. Thanks for your contribution

BeastyBill88

Members

Having problems with this script. For me it completely removes the ability to pull up the weapon wheel or change weapons in a vehicle. Any ideas? I'm using an Xbox controller for GTA V and I've not got any other scripts running either. But I found this in my scripthook log.

 

Spoiler

[19:05:26] [DEBUG] Created script domain 'ScriptDomain_7E23FC8C'.
[19:05:26] [DEBUG] Loading scripts from 'C:\Program Files\Rockstar Games\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_7E23FC8C' ...
[19:05:26] [DEBUG] Found 1 script(s) in 'CubFixedWeaponSwapping.dll'.
[19:05:26] [DEBUG] Starting 1 script(s) ...
[19:05:26] [DEBUG] Instantiating script 'FixedWeaponSwapping.Main' in script domain 'ScriptDomain_7E23FC8C' ...
[19:05:26] [DEBUG] Started script 'FixedWeaponSwapping.Main'.
[19:06:03] [ERROR] Caught fatal unhandled exception:
System.MissingMethodException: Method not found: 'Boolean GTA.WeaponCollection.Select(GTA.Native.WeaponHash, Boolean)'.
   at FixedWeaponSwapping.Main.SwitchToWeaponNow(WeaponHash weapon)
   at FixedWeaponSwapping.Main.OnTick(Object sender, EventArgs e)
   at GTA.Script.raise_Tick(Object value0, EventArgs value1)
   at GTA.Script.MainLoop()

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.