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

[ALL] !mypermission


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 12-09-2016 , 07:35   [ALL] !mypermission
Reply With Quote #1

Hi guys, can anyone make a plugin that shows us our permissions when we write !myperms


I mean it is going to show all commands they can use but somethings like sm_help

!myperms

example:
Your perms are: vote,map
chalr is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 12-09-2016 , 08:09   Re: [ALL] !mypermission
Reply With Quote #2

I think I might be able to attempt this for you, I am pretty new so not making any promises however I'd love to give it a try.

Maybe a more experienced scripter could tell me where I went wrong, just add me on steam and we can go through exactly what it is you would like

Is this going to be linked to admins? (ADMFLAG_GENERIC) - b flag?
__________________
B3none is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 12-09-2016 , 08:21   Re: [ALL] !mypermission
Reply With Quote #3

I believe there is already something like that wich come with sourcemod admin menu...
__________________
Want to check my plugins ?
Arkarr is offline
whtevrwt
AlliedModders Donor
Join Date: Apr 2015
Old 12-09-2016 , 08:52   Re: [ALL] !mypermission
Reply With Quote #4

Why not just type "status" in console?
__________________

Last edited by whtevrwt; 12-09-2016 at 08:52.
whtevrwt is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 12-09-2016 , 09:38   Re: [ALL] !mypermission
Reply With Quote #5

sm_who shows all admin priveledges.

As far as commands from specific custom plugins, many plugins would not be able to be detected due to the admins flags being enforced within the callback function for the command itself.
__________________
ThatOneGuy is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 12-09-2016 , 09:46   Re: [ALL] !mypermission
Reply With Quote #6

Are players with a flags able to write sm_who ? and i want to write it all. As i know sm_who doesn't show extra plugins
chalr is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-09-2016 , 09:49   Re: [ALL] !mypermission
Reply With Quote #7

https://wiki.alliedmods.net/Overridi...ess_(SourceMod)
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 12-09-2016 , 10:28   Re: [ALL] !mypermission
Reply With Quote #8

Yes it just came to my mind sorry friagram.

is sm_who show all perms? i mean extra plugin's commands
chalr is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-09-2016 , 23:44   Re: [ALL] !mypermission
Reply With Quote #9

no, what you want would require a lot of work.
while it is possible to crawl through every concommand and checkcommandaccess to see if the user can access it, like previously stated those commands that check access inside of a callback would return true.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 12-09-2016 at 23:50.
friagram is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 12-11-2016 , 10:50   Re: [ALL] !mypermission
Reply With Quote #10

i found
chalr 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 03:56.


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