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

[Cs:go] Plugin unload/load


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HowLovely
New Member
Join Date: Dec 2015
Old 12-11-2015 , 00:17   [Cs:go] Plugin unload/load
Reply With Quote #1

We have a server and we wanna have minigame and deathruns all-together so we're using a plugin for the deathrun alone called Abner deathrun manager https://forums.alliedmods.net/showthread.php?t=272017
which works perfectly but we don't want it running on all the map so we also use a map config plugin https://forums.alliedmods.net/showthread.php?p=607079 to have it only load the plugin on deathrun maps.But when the map switches the plugin is still running causing only 1 t and the rest ct. We tried to create a seperate cfg with the command [sm plugins unload pluginname] but it didn't work and tried the ingame console command but it just constantly displays the plugins of the server.
Is there a way to fix this?
HowLovely is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 12-11-2015 , 01:14   Re: [Cs:go] Plugin unload/load
Reply With Quote #2

lock your plugins and unlock if you want to make a change?
hamilton5 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 12-11-2015 , 08:14   Re: [Cs:go] Plugin unload/load
Reply With Quote #3

sourcemod/map-cfg/dr_.cfg:
PHP Code:
dr_enabled 1 
then in sourcemod/abner_deathrun.cfg:
PHP Code:
dr_enabled 0 
In theory it will disable the deathrun plugin on all BUT deathrun maps(without executing sm plugins load/unload)

Last edited by WildCard65; 12-11-2015 at 08:17.
WildCard65 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 07:38.


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