• What's wrong with this weapon code?
    5 replies, posted
-snip-
You have to call it shared.lua, not "ninja.lua". You can include things like ninja.lua in your shared.lua, but you have to have an shared.lua.
-snip-
Don't do that [B]YET.[/B] Do you have CS:S? SWEP.Base = "weapon_cs_base"You need CS:S to use that base. Also what is the exact error?
-snip-
[QUOTE=Ninja_Duck;20492344]Well there error is the weapon not showing up in the 'Weapons' tab. My friend tried to help me because he is more experienced with Lua but it still didn't work.[/QUOTE] He means a console error. Start a singleplayer and when you're in, scim the console for things involving your gun. Then put in the error here, so we can help you - if you cant figure it yourself, that is. Cause the console errors pretty much tells you what is wrong. Anyways, good luck with it.
Sorry, you need to Log In to post a reply to this thread.