AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Required Plugins (https://forums.alliedmods.net/showthread.php?t=309088)

TrullSin 07-13-2018 12:55

Required Plugins
 
Can someone make me the base to make 1 plugin need another to work, for example, if I put on the server the plugin Drapi Show Damage to that plugin work it need another plugin. Something like some plugins works for example, Multi1vs1 if I want Multi1vs1 Only Deagle and if I put the Multi1vs1 Only Deagle plugin on the server, the plugin will say that requires Multi1vs1.

mug1wara 07-13-2018 13:29

Re: Required Plugins
 
#include....

TrullSin 07-13-2018 13:40

Re: Required Plugins
 
I tried that but dont work

I found 1 plugin called permamute something like that using this:
PHP Code:

if (!PluginExists("basecomm.smx")) {
        
LogError("FATAL: This plugin requires basecomm. Please load basecomm and try loading this plugin again.");
        
SetFailState("This plugin requires basecomm. Please load basecomm and try loading this plugin again.");
    } 

And I wanted something similar, to help founding mistakes in plugin give this kinda of messages


All times are GMT -4. The time now is 19:22.

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