AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   How disable module (https://forums.alliedmods.net/showthread.php?t=320359)

popilas 12-18-2019 01:22

How disable module
 
Hello, i wanna idea how i can disable module in custom map?
Like exp: hamsandwich disable de_dust2

Mordekay 12-18-2019 02:33

Re: How disable module
 
Modules are loaded by the plugins running, not per map.
If you want a special module unloaded you need to stop all plugins that are using it.

popilas 12-18-2019 02:51

Re: How disable module
 
Quote:

Originally Posted by Mordekay (Post 2677283)
Modules are loaded by the plugins running, not per map.
If you want a special module unloaded you need to stop all plugins that are using it.

its only module not have plugins

Mordekay 12-18-2019 02:58

Re: How disable module
 
Modules are loaded in 2 ways:
1) by plugins using it.
2) by modules.ini
Check which one is it for you.

popilas 12-18-2019 03:00

Re: How disable module
 
Quote:

Originally Posted by Mordekay (Post 2677287)
Modules are loaded in 2 ways:
1) by plugins using it.
2) by modules.ini
Check which one is it for you.

me way is by modules.ini i wanna disable one module in custom map like de_dust2

Mordekay 12-18-2019 05:47

Re: How disable module
 
Then remove it from modules.ini and don't use plugins requiring them.
What is so hard about it to understand?
You don't need to enable them in modules.ini at all, since amxx 1.7X modules where loaded automatically if a plugin needs them.

HamletEagle 12-18-2019 09:11

Re: How disable module
 
As Moderkay said adding modules to modules.ini is not required anymore. If you have a plugin that needs hamsandwich then it will get automatically loaded.
He also provided you with the solution, but I have to ask: why would you want to disable modules per map? It doesn't make any sense.

popilas 12-18-2019 10:38

Re: How disable module
 
Quote:

Originally Posted by HamletEagle (Post 2677306)
As Moderkay said adding modules to modules.ini is not required anymore. If you have a plugin that needs hamsandwich then it will get automatically loaded.
He also provided you with the solution, but I have to ask: why would you want to disable modules per map? It doesn't make any sense.

its module like parachute and i wanna disable parachute in custom maps

^SmileY 12-18-2019 11:12

Re: How disable module
 
Quote:

Originally Posted by popilas (Post 2677317)
its module like parachute and i wanna disable parachute in custom maps

Parachute is a 3rd module, to be honest you need to ask in parachute support :bacon:

HiDeath 12-18-2019 11:41

Re: How disable module
 
Well, idk if that would help you.

If disabling module by map is not possible, you can use the parachute plugin instead, which you can disable for the map you want!

You can use this one (not tested):https://forums.alliedmods.net/showth...26#post1927026

In order to disable the plugin in this map make .ini file in maps folder (example: cstrike/maps/de_dust2.ini), then right the plugin name in it with "disabled above" (example:"parachute.amxx disabled")

Good luck! Sincerely


All times are GMT -4. The time now is 06:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.