Raised This Month: $403 Target: $400
 100% 

Required Plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TrullSin
Member
Join Date: Jun 2018
Old 07-13-2018 , 12:55   Required Plugins
Reply With Quote #1

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.

Last edited by TrullSin; 07-13-2018 at 12:56.
TrullSin is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Location: Not your business.
Old 07-13-2018 , 13:29   Re: Required Plugins
Reply With Quote #2

#include....
__________________
Taking requests, add me on Steam.

mug1wara.xyz

People make themselves understood in a way, others understand in another.
mug1wara is offline
TrullSin
Member
Join Date: Jun 2018
Old 07-13-2018 , 13:40   Re: Required Plugins
Reply With Quote #3

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

Last edited by TrullSin; 07-13-2018 at 13:46.
TrullSin is offline
Reply


Thread Tools
Display Modes

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 04:17.


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