Garry's Mod

Garry's Mod

Sword Cane
xstewart 3 Nov, 2017 @ 12:37am
Errors
[Cane Sword] lua/weapons/weapon_cane/shared.lua:133: attempt to call method 'Give' (a nil value)
1. unknown - lua/weapons/weapon_cane/shared.lua:133

this happens when drawing the cane but awesome otherwise
< >
Showing 1-7 of 7 comments
Chad Thundercock 13 Apr, 2019 @ 8:36am 
E
[C3] Conwell 8 Nov, 2019 @ 6:37pm 
I get the same error
Kil-Bii 25 Mar, 2020 @ 6:48am 
[Sword Cane] lua/weapons/weapon_cane/shared.lua:134: bad argument #1 to 'SetActiveWeapon' (Entity expected, got string)
1. SetActiveWeapon - [C]:-1
2. unknown - lua/weapons/weapon_cane/shared.lua:134

I have different error. When I draw or put the cane sword, 'drawn cane sword' weapon is added to my weapon list, but equiped weapon doesn't get changed.
24kWarLord 3 Jun, 2020 @ 6:22pm 
Originally posted by Kil-Bii:
[Sword Cane] lua/weapons/weapon_cane/shared.lua:134: bad argument #1 to 'SetActiveWeapon' (Entity expected, got string)
1. SetActiveWeapon - [C]:-1
2. unknown - lua/weapons/weapon_cane/shared.lua:134

I have different error. When I draw or put the cane sword, 'drawn cane sword' weapon is added to my weapon list, but equiped weapon doesn't get changed.
same here
kyrv711 5 Oct, 2021 @ 12:40am 
there is errors
76561199032169674 29 Sep, 2022 @ 6:51pm 
I get the same error as well
SentientDreams 9 Feb, 2024 @ 3:54am 
I get the same error
< >
Showing 1-7 of 7 comments
Per page: 1530 50