View Single Post
Author Message
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-20-2021 , 18:52   [L4D1/2] Don't switch weapon to secondary slot when pick up pistols
Reply With Quote #1

As title says, in game default, if I pick up pistol or magnum, it will switch current active weapon to secondary slot, I don't want this.
If any can help, I will appreciate.

-what I found so far-
SDKHook_WeaponEquipPost, SDKHook_WeaponEquip, and SDKHook_WeaponCanSwitchTo don't fire when picking up the second pistol for both games.

Edit: Problem sloved by Forgetest, thanks everyone, click here
__________________

Last edited by HarryPotter; 09-23-2021 at 07:45. Reason: solved, see post#8
HarryPotter is offline