• Having a problem with my SWEP pack.
    2 replies, posted
Well... I'm new to lua and I'm working on a SWEP pack. So the first day i make Sonic SMG, and EVIL 357 I go ingame to test them out and they work. YAY :) But.. the next day i make an Anti-Tank Rifle, and a Tesla Gun I go ingame and test it out they are not there. :( So i go back into lua and i changed some things to make it work and changed the update date in the info.txt I go back ingame to test it and nope it doesn't work :( I make 4 separate addons with a swep in each and still nothing :( So im asking for help if anyones knows how to fix it :) Here are all my file paths: Sonic Cow's SWEP pack\info Sonic Cow's SWEP pack\lua\weapons\Anti Tank Rifle\shared Sonic Cow's SWEP pack\lua\weapons\EVIL_357\shared Sonic Cow's SWEP pack\lua\weapons\Sonic_SMG\shared Sonic Cow's SWEP pack\lua\weapons\Tesla Gun\shared Sonic Cow's SWEP pack\lua\entities\bullet\init Sonic Cow's SWEP pack\lua\entities\bullet\cl_init Sonic Cow's SWEP pack\lua\entities\bullet\shared and here is a code snippet for the sweps: [CODE] SWEP.PrintName = "EVIL 357" SWEP.ViewModelFOV = 62 SWEP.ViewModelFlip = false SWEP.ViewModel = "models/weapons/v_357.mdl" SWEP.WorldModel = "models/weapons/w_357.mdl" SWEP.AnimPrefix = "python" SWEP.Slot = 1 SWEP.Category = "Sonic Cow's SWEPs" [/CODE] And here's the info: [CODE] "AddonInfo" { "name" "Sonic Cow's SWEP pack" "version" "1.0" "up_date" "Aug. 26, 2009" "author_name" "Sonic Cow" "author_email" "N/A" "author_url" "N/A" "info" "A SWEP pack made by me... of course" "override" "0" } [/CODE] Tell me if i missed anything... I spent the past week trying to figure out the problem and i couldn't fix it. :( Thanks for all the help :)
There must be errors when they dont work. Can you post them?
Nope no errors... :(
Sorry, you need to Log In to post a reply to this thread.