Quote:
Originally Posted by HarryPotter
PHP Code:
L 06/27/2021 - 17:42:20: [SM] Exception reported: Entity -1 (-1) is invalid
L 06/27/2021 - 17:42:20: [SM] Blaming: l4d2_reload_fix.smx
L 06/27/2021 - 17:42:20: [SM] Call stack trace:
L 06/27/2021 - 17:42:20: [SM] [0] GetEntProp
L 06/27/2021 - 17:42:20: [SM] [1] Line 159, l4d2_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.
__________________