So I'm using nutscript as a base for a serious rp server and some of the star wars weapons I have installed are doing a punching animation whilst shooting. Theres also this error in the console
[CODE][ERROR] gamemodes/nutscript/gamemode/items/base/sh_weapons.lua:174: attempt to index a nil value
1. fn - gamemodes/nutscript/gamemode/items/base/sh_weapons.lua:174
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179
3. Kill - [C]:-1
4. Call - gamemodes/base/gamemode/player.lua:369
5. unknown - gamemodes/base/gamemode/player.lua:480
[/CODE]
Which I'm fairly sure is the reason for this but I have no clue on how to fix it.
sh_weapons code: [url]http://hastebin.com/payofipido.js[/url]
Halp plz
Sorry, you need to Log In to post a reply to this thread.