View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 06-24-2020 , 10:12   Re: [L4D & L4D2] Gear Transfer (2.10) [10-May-2020]
Reply With Quote #286

hi, Silvers
I notice that something wrong if set convar l4d_gear_transfer_method "2"

PHP Code:
// 0=Off. 1=Shove only, 2=Reload key only, 3=Shove and Reload key to transfer items.
// -
// Default: "3"
l4d_gear_transfer_method "2" 
I install this plugin [L4D & L4D2] Prototype Grenades, when I hold SHOOT (LMB) + SHOVE (RMB) keys, it will transfer items to teammates.
So I fix the following code line 1114
PHP Code:
if( buttons IN_RELOAD || buttons IN_ATTACK2 
to
PHP Code:
if( buttons IN_RELOAD || (buttons IN_ATTACK2 && !(buttons IN_ATTACK))) 
__________________

Last edited by HarryPotter; 06-24-2020 at 10:13.
HarryPotter is offline