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

Enable / Disable plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sczw0w
New Member
Join Date: Jun 2019
Old 08-17-2019 , 13:56   Enable / Disable plugin
Reply With Quote #1

Hi! I found a plugin that i wanna use in my server. The plugin consist in adding and remove points based on kills-deaths etc etc.

My server have 5 game states, and i wanna activate the plugin only in 3 of those.

Somebody can add a cvar that can stop and start complitely the plugin?







This is the plugin

https://pastebin.com/e8RnxA1X
sczw0w is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-17-2019 , 14:15   Re: Enable / Disable plugin
Reply With Quote #2

How do you switch between "game states"? If you're using Polymorph, for example, you can have the plugin not even load on "states" that you don't want it running.

If that is not the case, one crude way of doing it is to pause the plugin.
__________________
fysiks is offline
sczw0w
New Member
Join Date: Jun 2019
Old 08-17-2019 , 15:55   Re: Enable / Disable plugin
Reply With Quote #3

I got a 5v5 plugin and it has like chat commands for the different game states, so basically what would be simplier for me is like add a cvar command to this plugin and add it ON in the game states it sould be and OFF in the other ones, but i don't know how i can do that
sczw0w is offline
DON KHAN 1
Senior Member
Join Date: Mar 2019
Location: Pakistan
Old 08-18-2019 , 09:24   Re: Enable / Disable plugin
Reply With Quote #4

Quote:
Originally Posted by sczw0w View Post
Hi! I found a plugin that i wanna use in my server. The plugin consist in adding and remove points based on kills-deaths etc etc.

My server have 5 game states, and i wanna activate the plugin only in 3 of those.

Somebody can add a cvar that can stop and start complitely the plugin?







This is the plugin

https://pastebin.com/e8RnxA1X
simply use plugins.ini to disable it or use amx_pausecfgmenu to pause it.
__________________
Facebook
My YouTube
Ro{Y}aL WarLanD CommuniTy
Selling Zombie CSO 4.3 Money System Mod
DON KHAN 1 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 10:22.


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