Raised This Month: $32 Target: $400
 8% 

A plugin does disable plugins with players choice


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bosterman
Junior Member
Join Date: Jan 2016
Old 03-15-2020 , 02:17   A plugin does disable plugins with players choice
Reply With Quote #1

Hello everyone,
I'm suggesting for a plugin for players disable plugins by choice like
I added a trail plugin and the player doesnt like all trail so the player writes amx_example and it opens menu with settings what to off and what to on
And those settings are created by me in INI File or sma
Is that possible or impossible,
Thanks for understanding,
Thanks for reading.
Cheers

Last edited by Bosterman; 03-15-2020 at 02:18.
Bosterman is offline
Send a message via AIM to Bosterman Send a message via Yahoo to Bosterman Send a message via Skype™ to Bosterman
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-15-2020 , 13:37   Re: A plugin does disable plugins with players choice
Reply With Quote #2

If you need things to be disabled per-player, you would have to edit the plugin that contains the feature you want to enable/disable. If you're wanting to pause the entire plugin, you can use the pause menu IIRC.
__________________
fysiks is offline
Bosterman
Junior Member
Join Date: Jan 2016
Old 03-15-2020 , 17:17   Re: A plugin does disable plugins with players choice
Reply With Quote #3

No i mean a menu for players only not for all
if someone likes trail player can leave it on but if someone doesnt like it player can disable it
Bosterman is offline
Send a message via AIM to Bosterman Send a message via Yahoo to Bosterman Send a message via Skype™ to Bosterman
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 03-15-2020 , 17:31   Re: A plugin does disable plugins with players choice
Reply With Quote #4

In order to do that, you will have to provide all of the plugins code in here which you want players to be able to turn on/off
tarsisd2 is offline
Bosterman
Junior Member
Join Date: Jan 2016
Old 03-15-2020 , 21:55   Re: A plugin does disable plugins with players choice
Reply With Quote #5

Is it possible to do it via ini or cfg or only in sma
Bosterman is offline
Send a message via AIM to Bosterman Send a message via Yahoo to Bosterman Send a message via Skype™ to Bosterman
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-15-2020 , 22:30   Re: A plugin does disable plugins with players choice
Reply With Quote #6

Quote:
Originally Posted by Bosterman View Post
Is it possible to do it via ini or cfg or only in sma
That depends on how the plugin is written. Either way, you'll need to provide the source code.
__________________

Last edited by fysiks; 03-15-2020 at 22:30.
fysiks is offline
Bosterman
Junior Member
Join Date: Jan 2016
Old 03-16-2020 , 20:34   Re: A plugin does disable plugins with players choice
Reply With Quote #7

Anyone can create that suggestion or its hard
Bosterman is offline
Send a message via AIM to Bosterman Send a message via Yahoo to Bosterman Send a message via Skype™ to Bosterman
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2020 , 22:39   Re: A plugin does disable plugins with players choice
Reply With Quote #8

You asked for player-specific configuration of other plugins which can only be done by editing the plugin that gives that functionality. You cannot edit the functionality of a plugin without it's source code. The only exception is if a plugin already gives that ability via command, you can probably make that into a menu.
__________________
fysiks is offline
Bosterman
Junior Member
Join Date: Jan 2016
Old 03-17-2020 , 01:10   Re: A plugin does disable plugins with players choice
Reply With Quote #9

Yeah thats what i need
A menu with on and off any plugin for fun
Bosterman is offline
Send a message via AIM to Bosterman Send a message via Yahoo to Bosterman Send a message via Skype™ to Bosterman
4ever16
Veteran Member
Join Date: Apr 2015
Old 03-17-2020 , 02:46   Re: A plugin does disable plugins with players choice
Reply With Quote #10

2 years ago i asked someone to make something simular.

I asked if someone could make so that players can turn on or off a function in a plugin and it only should work for that specific player who wrote .onn or .off

I cant help you much but still maybe some one could find it usefull.

Players can turn off & on 1 function in this plugin: https://forums.alliedmods.net/showthread.php?t=308103
4ever16 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 07:14.


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