Garry's Mod
Auto Equip Weapon on Respawn
hami 15 Thg03, 2023 @ 2:36pm
Troubleshooting 15.03.2023
I uploaded this video to showcase some of the bugs.
I got it working again, kind of, still priorotises the physics gun but that's actually not that big of an issue.
I don't know if everyone has the same experience like this but if you ever maybe find the time and motivation for working on this mod maybe this can serve as reference. :steamhappy:

Here are the error codes:

[Auto Equip Weapon on Respawn] lua/autorun/autoequiprespawn_fmk.lua:78: calling 'SetBool' on bad self (attempted to modify ConVar not created by Lua)
1. SetBool - [C]:-1
2. unknown - lua/autorun/autoequiprespawn_fmk.lua:78



LuaCmd:1: attempt to call method 'GetWeapon' (a nil value)
1. unknown - LuaCmd:1


https://www.youtube.com/watch?v=SUP36W4JYjs
Lần sửa cuối bởi hami; 15 Thg03, 2023 @ 2:41pm