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

Admin on Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ninja uwu
Member
Join Date: Oct 2020
Old 11-26-2020 , 10:22   Admin on Plugin
Reply With Quote #1

Hey so i want to add admin on 1 plugin and this cant be deleted
The reasson: My Game Panel have options to modify sub users on GPanel, and i want to sell Admin Owner whit GPanel, but i can modify permissions to dont remove Plugins or modify plugins.ini
And i want to give Acces to users.ini
And all have some "trolls" and i dont want to punish my admins for be trolls whit others owners or admins
For that reasson i want to put 2 or more admins on 1 sma and compile and upload
Ninja uwu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-26-2020 , 13:24   Re: Admin on Plugin
Reply With Quote #2

Do you seriously think someone believed that?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-26-2020 , 13:35   Re: Admin on Plugin
Reply With Quote #3

Makes no sense how you can modify permissions for one file but can't for the other. That's not the original reason behind your request, it seems.
redivcram is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-26-2020 , 14:24   Re: Admin on Plugin
Reply With Quote #4

You can set user access using the set_user_flags native
https://www.amxmodx.org/api/amxmodx/set_user_flags

If you need examples about how to use it, look at admin.sma
__________________








CrazY. is offline
Ninja uwu
Member
Join Date: Oct 2020
Old 11-26-2020 , 18:48   Re: Admin on Plugin
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Do you seriously think someone believed that?
Yes :>
Ninja uwu is offline
Ninja uwu
Member
Join Date: Oct 2020
Old 11-26-2020 , 18:49   Re: Admin on Plugin
Reply With Quote #6

Quote:
Originally Posted by redivcram View Post
Makes no sense how you can modify permissions for one file but can't for the other. That's not the original reason behind your request, it seems.
What would be the reason? e.e
This is how my GamePanel works
Ninja uwu is offline
Ninja uwu
Member
Join Date: Oct 2020
Old 11-26-2020 , 18:50   Re: Admin on Plugin
Reply With Quote #7

Quote:
Originally Posted by CrazY. View Post
You can set user access using the set_user_flags native
https://www.amxmodx.org/api/amxmodx/set_user_flags

If you need examples about how to use it, look at admin.sma
I will try thx :>
Ninja uwu is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-26-2020 , 19:23   Re: Admin on Plugin
Reply With Quote #8

If you can't trust the people who you give access to your game panel then you should remove their access.
__________________
fysiks is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-27-2020 , 10:19   Re: Admin on Plugin
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
If you can't trust the people who you give access to your game panel then you should remove their access.

It's not his original reason. Every argument he puts makes no sense. He DMed me before posting this thread.
redivcram 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 08:19.


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