Garry's Mod

Garry's Mod

Player Speeds Changer 2.0 [REUPLOAD]
Rib 11 Sep, 2022 @ 10:04pm
Sprint system causes fatal error in single/multiplayer
If you are crashing and your crash log looks like this:
-Lua Stack Traces- ================== Client *Not in Lua call OR Lua has panicked* Server 0. EmitSound - [C]:-1 1. v - lua/autorun/server/sv_spsc.lua:805 2. (null) - lua/includes/modules/hook.lua:96 MenuSystem *Not in Lua call OR Lua has panicked*

Then the crash was caused by this addon. I am unsure of exactly why it happens, something to do with playing the "spsstop02" sound perhaps?
The offending line is as follows:
elseif rng <= 0.51 then ply:EmitSound("spsstop02")

Edit:
It appears disabling the "Stamina Energy" checkbox under "Fatigue & Stamina", can prevent the crash all together.

Please fix this!
Last edited by Rib; 12 Sep, 2022 @ 9:30am