Lua Question?

hey i run my own little dedicated server, with different game-modes. however some of the addons clash… i was wondering if you could use certain addons with certain game-modes?

like excluded unnecessary addons?

You can put this at the top of each addon’s loading file:


if (GAMEMODE_NAME ~= "specific gamemode") then return end

Thanks, ill give this a try.