View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-27-2021 , 08:34   Re: [L4D2] No Reload Animation Fix - Picking Up Same Weapon (1.0) [19-Jun-2021]
Reply With Quote #8

Quote:
Originally Posted by HarryPotter View Post
PHP Code:
L 06/27/2021 17:42:20: [SMException reportedEntity -(-1is invalid
L 06
/27/2021 17:42:20: [SMBlamingl4d2_reload_fix.smx
L 06
/27/2021 17:42:20: [SMCall stack trace:
L 06/27/2021 17:42:20: [SM]   [0GetEntProp
L 06
/27/2021 17:42:20: [SM]   [1Line 159l4d2_reload_fix.sp::OnFrame 
Thanks, I knew I should have added a check. Someone can lose their weapon in 1 frame!

Code:
1.1 (27-Jun-2021)
    - Fixed throwing errors about invalid entity. Thanks to "HarryPotter" for reporting.
__________________
Silvers is offline