• My Addon Isn't Making Any Errors Or Doing Anything
    3 replies, posted
I've been trying to solve this for weeks but I'm getting pretty desperate. As the title suggests, my addon isn't making errors. And it isn't doing anything. It's likely a problem with my installation but all my other addons are working so I uploading it to GitHub too. https://github.com/WasabiThumb/StickyShocker/tree/master Intended outcome is hold LShift, then Primary Attack while holding an SMG and some stuff happens. Just a tiny push in the right direction would be GREATLY appreciated.
Put print everywhere imaginable and see what runs and what doesn't
Your first problem is here on line 75 of your config. -- The weapons that this should work with. SHOCKERDT.WEPLIST = { ["weapon_sc_20ka"] = true, ["weapon_sc_20kanniversary"] = true, ["weapon_smg"] = true -- Line 75 } The classname for the default SMG is weapon_smg1, not weapon_smg. You have some errors after that, but this is why it's silently failing.
THANK YOU wow that was simple <3
Sorry, you need to Log In to post a reply to this thread.