pierremgi 4908 Posted January 22, 2019 Hi, Building some custom modules, especially for mission makers, like spawning loots, civilian life, HALO jumps... I'm writing functions for server side only. I wonder if there is a mean to add this module addon on server only. I know that any module, edited on map, is registered in mission.sqm, as all other entities/objects. So I guess, all clients must have also this addon, even if they are not concerned in running scripts, just because mission.sqm mentions this module... Well, any solution to let the mission maker use the module addon (spawning civilian on servers for example) without making all clients load it? A kind of: if (isServer) then {} inside the mission.sqm... Thanks Share this post Link to post Share on other sites
Mr H. 402 Posted January 23, 2019 I don't think so, if there's a module in the mission when you export it, the editor will add the original addon to the list of the mission's required addons since modules are in cfgVehicles, so players without the addon won't be able to join the mission (not a 100% sure but I think it's the way it works). You could try something different like what 3den enhanced does and write the functions in the mission sqm upon saving in the editor/exporting but that's not exactly what you aim for I'm afraid. 1 1 Share this post Link to post Share on other sites