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

[DELETED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadowless
Member
Join Date: May 2018
Old 02-25-2019 , 06:23   [DELETED]
Reply With Quote #1

---

Last edited by Shadowless; 05-19-2019 at 05:49.
Shadowless is offline
Send a message via ICQ to Shadowless
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-25-2019 , 06:25   Re: Access flags
Reply With Quote #2

https://github.com/alliedmodders/amx...figs/users.ini

PHP Code:
Access flags:
immunity (can't be kicked/banned/slayed/slapped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands (permanent and temporary bans)
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; v - amx_ban and amx_unban commands (temporary bans only, about amx_unban, only self performed ban during map gonna be allowed)
; z - user (no admin) 

For 1.8.2
PHP Code:
Access flags:
immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin) 

Last edited by PartialCloning; 02-25-2019 at 06:26.
PartialCloning is offline
Old 02-25-2019, 06:26
Shadowless
This message has been deleted by Shadowless.
Old 02-25-2019, 06:27
Shadowless
This message has been deleted by Shadowless.
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-25-2019 , 06:27   Re: Access flags
Reply With Quote #3

That's amxmod, not amxmodx. They're different.
PartialCloning is offline
Old 02-25-2019, 06:29
Shadowless
This message has been deleted by Shadowless.
PartialCloning
Senior Member
Join Date: Dec 2015
Old 02-25-2019 , 06:30   Re: Access flags
Reply With Quote #4

If you want the (outdated) amxmodx documentation, you can find it here: https://www.amxmodx.org/doc/

Last edited by PartialCloning; 02-25-2019 at 06:30.
PartialCloning is offline
Old 02-25-2019, 06:34
Shadowless
This message has been deleted by Shadowless.
Old 02-25-2019, 06:35
Shadowless
This message has been deleted by Shadowless.
Old 02-25-2019, 06:39
Shadowless
This message has been deleted by Shadowless.
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-25-2019 , 15:52   Re: Access flags
Reply With Quote #5

No and nobody said thay flag y allows you to bypass immunity - that's totally incorrect. Look at the information in your users.ini file and the official AMXX documentation, not some random website.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2019 , 23:38   Re: Access flags
Reply With Quote #6

Quote:
Originally Posted by Shadowless View Post
one question, so highest acces is - y - ADMIN_ADMIN , yes?
No, the admin flags are not hierarchical by default. By default most flags are used to enable access to specific commands/features. The only ones that are used in a special way are 'y' and 'z'.

'y' is used when you want to simply check the result of is_user_admin(). This will only work when you use the proper functions to check for admin access like access() and cmd_access() (both are in amxmisc.inc).

'z' is a special flag used to indicate "not admin".
__________________
fysiks 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 23:46.


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