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

Overrides problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mero
Junior Member
Join Date: Feb 2017
Old 04-18-2017 , 16:52   Overrides problem
Reply With Quote #1

Hi guys
I have a problem and searched a lot but I didn't find a fix so here's it

Now I have some vip players of my server
and I want them to access a command ex: sm_resize
but the problem is that they have the access to resize other players
as they can type: sm_resize "PLAYERNAME" "value"
but I want to make them control themselves only and not the others
So what's to do?
Thanks
Mero is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-19-2017 , 02:35   Re: Overrides problem
Reply With Quote #2

Im not sure if it's a good way or even working one but i can tell you can make other plugin, register the same command and on its action, you may check for commandacsess and restrict vips to argument @me only!
__________________
ambn is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-19-2017 , 03:35   Re: Overrides problem
Reply With Quote #3

You can't do this with just overrides. Overrides give access to a command or not, they don't deal with anything more specific.

You will probably have to either edit the original plugin or otherwise write some code of your own to wrap the original plugin's functionality.
Fyren 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 22:00.


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