View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-06-2021 , 17:38   Re: [L4D & L4D2] Reload Fix - Max Clip Size (1.3) [05-Jul-2021]
Reply With Quote #26

Replace the "CTerrorGun::Reload" signature with this one and report back if it works.

Code:
			"CTerrorGun::Reload"
			{
				"library"		"server"
				"linux"			"@_ZN10CTerrorGun6ReloadEv"
				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x8B\x2A\x85\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x83"
				/* ? ? ? ? ? ? 53 56 8B ? E8 ? ? ? ? 8B ? 85 ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 83 */
				/* VTable method. Using "!player->CanAttack()" 1 call below. */
			}
__________________
Silvers is offline