• Addon not showing up in game
    8 replies, posted
I created two weapons and want them to be two different addons so you can choose if you want to download both or just one of them. I put both of them on the Garry's Mod workshop but whenever i subscribe to both of them only one of them shows up in game in my category (pLASTERS Airsoft) But in the lua codes i have set them both to be in that category, so how come only one of them show up?
Make sure the file names are all different.
Ok, i did as you said, but it did not work. Now when i go in game and spawn one of my weapons which is a M4A1 then i get the MP5 model (The M4A1 is the only one showing up in my category) and i do not even have the MP5 install? Pictures of my folders: [url]http://imgur.com/a/lvfG0[/url]
Ok, do this: Move the shared(2).lua into the weapons folder and rename it to your weapon's name. So your two addons become: addons/addon1/lua/weapons/weapon_m4a1.lua addons/addon2/lua/weapons/weapon_mp5.lua Once that is done, make sure the weapons do not error/the categories are the same, etc.
I did as you said and the following happend: [url]http://imgur.com/h2qvkCm[/url] Plus i got a lua error saying something is wrong with my M4A1 deploy but it's not even showing up in the menu? Errors: Couldn't mount addon - couldn't find file addons/m4a1_airsoft_602106691.gma Couldn't mount addon - couldn't find file addons/mp5_airsoft_602106761.gma Found unused .gma addon: plasters_airsoft_m4a1_601861569.gma [M4A1 Airsoft] lua/weapons/weapon_m4a1.lua:28: attempt to call method 'Deploy' (a nil value) 1. unknown - lua/weapons/weapon_m4a1.lua:28 This is messed up...
Obviously it will not show up in the menu if the file contains an error preventing the weapon from being loaded. Fix the Lua error.
Gmad extractor is bugged and doesnt work since the last Gmod Update you have to make a steam workshop collection and add that to your server
Yo I make Photon vehicles and I have also been getting this. This post is about 2 months old but I have yet to find a fix! Someone help, please! All or most of my subscribed addons do not show up in game. I checked console and this is what it's telling me (there are about 300 but I only posted a few): Found unused .gma addon: tdms_prop_pack_489864412.gma Found unused .gma addon: tdm_2012_fire_skin_429814390.gma Found unused .gma addon: tesla_model_s_113557741.gma Found unused .gma addon: texas_state_trooper_(12_charger)_407437061.gma Found unused .gma addon: tfa_hud_453346276.gma
You are failing to load the subscriptions. Open your Addons menu. Do the addons appear there? Try resyncing your OS clock, that usually helps.
Sorry, you need to Log In to post a reply to this thread.