Raised This Month: $12 Target: $400
 3% 

[Req] Disable Plugins On Specific Maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TeddiBer
Senior Member
Join Date: Oct 2011
Old 06-19-2012 , 13:26   [Req] Disable Plugins On Specific Maps
Reply With Quote #1

Hello !

i using some plugins that have lot of precache, and because of that, so some maps cause the server to shutdown because the 512 precache limit error.

and i want to use this plugins on all the maps except 5 maps.
and when this plugins are disabled so the map not crash the server.

so is there any plugin that can disable this plugins on those maps ?

and i know there's a way to enable plugin on specific maps by:
Code:
addons/amxmodx/configs/maps/plugins-mapname.ini
but i using lots of maps (like 250).
and i won't start to create 250 files and put there this plugins except the maps that cause crash.

so pleas i need a plugin that will detect the map that cause the crash, and will disable the plugin.
some thing like that in a ini file:
PHP Code:
"deathrun_jigsaw" "players_models"
"deathrun_jigsaw" "new_weapons"
"deathrun_trap_canyon" "roll_the_dice" 

Last edited by TeddiBer; 06-19-2012 at 13:28.
TeddiBer is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-19-2012 , 13:33   Re: [Req] Disable Plugins On Specific Maps
Reply With Quote #2

Make a map.ini in the maps folder e.g. plugins-de_dust.ini, then inside put gungame.amxx disabled.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 06-19-2012 , 13:41   Re: [Req] Disable Plugins On Specific Maps
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
Make a map.ini in the maps folder e.g. plugins-de_dust.ini, then inside put gungame.amxx disabled.
wait, so if i have in plugins.ini :
roll_the_dice.amxx

and in: maps/plugins-deathrun_trap_canyon.ini :

roll_the_dice.amxx disabled

so it will disable for sure the plugin ?
TeddiBer is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-19-2012 , 13:41   Re: [Req] Disable Plugins On Specific Maps
Reply With Quote #4

Yes.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 06-19-2012 , 13:44   Re: [Req] Disable Plugins On Specific Maps
Reply With Quote #5

Quote:
Originally Posted by wickedd View Post
Yes.
ok will check and will check and post the result

EDIT : Works !!!

i never knew that if i will write "disabled" after plugin name, so it will disable it.
Thanks Very Much !

Last edited by TeddiBer; 06-19-2012 at 13:47.
TeddiBer is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:23.


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