Raised This Month: $ Target: $400
 0% 

Execute config file / unload and load a plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pokeemerald
Junior Member
Join Date: Dec 2016
Old 12-21-2016 , 17:09   Execute config file / unload and load a plugin
Reply With Quote #1

Hi,
I need to load/unload a plugin from script, I thought about it by executing a config which has sm plugins unload and sm plugins load in it, 2 different ones.

But my question now is, how do I make the plugin execute a config?

Thanks for help,
Pokee
pokeemerald is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-24-2016 , 03:14   Re: Execute config file / unload and load a plugin
Reply With Quote #2

PHP Code:
ServerCommand("sm plugins <load or unload> <plugin filename>"); 

Last edited by cravenge; 12-24-2016 at 03:14.
cravenge 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:42.


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