I have a couple problems with my scripts and I see nothing wrong with them. Or most likely, I just don't know how to fix them.
The first is minor. The broken script line is:
[code]weapons/weapon_cs_pistol_base/shared.lua:69: attempt to call method 'ShouldDrawLocalPlayer' (a nil value)[/code]
The thing is, I found a fix. It didn't help me because the apparent fix was already in the script. My second problems is this, whenever I pick up non Half-Life 2 guns, from dead NPC's I get the error:
[code]weapon/weapon_cs_pistol_base/shared.lua:287: attempt to call method 'ShouldDrawLocalPlayer' (a nil value)[/code]
Sorry, you need to Log In to post a reply to this thread.