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

Help ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Abdou Bn
Member
Join Date: Sep 2019
Old 01-01-2020 , 08:13   Help ?
Reply With Quote #1

I want to Make Owner Tag only acces "a" on this level plugin but it always show server-admin idk
that's the CODE


if( get_user_flags( id ) & ADMIN_LEVEL_A ) admin = 1 //OWNER
else if( get_user_flags( id ) & ADMIN_LEVEL_C ) admin = 2 //ADMIN
else admin = 3 //VIP


AND THAT's TAGS

}

new const szTag[][] = {
"OWNER",
"Server-Admin",
"VIP"


}
I need a quick Help Baliz
Attached Files
File Type: sma Get Plugin or Get Source (RS_Level.sma - 131 views - 22.5 KB)
Abdou Bn is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2020 , 09:04   Re: Help ?
Reply With Quote #2

It's 2020, stop using crappy plugins.

https://forums.alliedmods.net/showthread.php?t=308540
https://forums.alliedmods.net/showthread.php?t=297952

ADMIN_LEVEL_A is not flag "a". That's flag "m".

Quote:
#define ADMIN_ALL 0 /* everyone */
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */
#define ADMIN_RESERVATION (1<<1) /* flag "b" */
#define ADMIN_KICK (1<<2) /* flag "c" */
#define ADMIN_BAN (1<<3) /* flag "d" */
#define ADMIN_SLAY (1<<4) /* flag "e" */
#define ADMIN_MAP (1<<5) /* flag "f" */
#define ADMIN_CVAR (1<<6) /* flag "g" */
#define ADMIN_CFG (1<<7) /* flag "h" */
#define ADMIN_CHAT (1<< /* flag "i" */
#define ADMIN_VOTE (1<<9) /* flag "j" */
#define ADMIN_PASSWORD (1<<10) /* flag "k" */
#define ADMIN_RCON (1<<11) /* flag "l" */
#define ADMIN_LEVEL_A (1<<12) /* flag "m" */
#define ADMIN_LEVEL_B (1<<13) /* flag "n" */
#define ADMIN_LEVEL_C (1<<14) /* flag "o" */
#define ADMIN_LEVEL_D (1<<15) /* flag "p" */
#define ADMIN_LEVEL_E (1<<16) /* flag "q" */
#define ADMIN_LEVEL_F (1<<17) /* flag "r" */
#define ADMIN_LEVEL_G (1<<1 /* flag "s" */
#define ADMIN_LEVEL_H (1<<19) /* flag "t" */
#define ADMIN_MENU (1<<20) /* flag "u" */
#define ADMIN_BAN_TEMP (1<<21) /* flag "v" */
#define ADMIN_ADMIN (1<<24) /* flag "y" */
#define ADMIN_USER (1<<25) /* flag "z" */
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Abdou Bn
Member
Join Date: Sep 2019
Old 01-01-2020 , 09:38   Re: Help ?
Reply With Quote #3

aw Thanks so much
Abdou Bn is offline
Abdou Bn
Member
Join Date: Sep 2019
Old 01-01-2020 , 09:39   Re: Help ?
Reply With Quote #4

when i used ur chatmanager plugin with this level sv bugs x)
Abdou Bn is offline
Abdou Bn
Member
Join Date: Sep 2019
Old 01-01-2020 , 09:43   Re: Help ?
Reply With Quote #5

i just need now an wallhang
Abdou Bn is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2020 , 10:17   Re: Help ?
Reply With Quote #6

Quote:
Originally Posted by Abdou Bn View Post
when i used ur chatmanager plugin with this level sv bugs x)
There is no reason to use my Chat Manager with this level system when I already made a level system that works with Chat Manager. Of course it will bug when you're using 2 different chat plugins.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Abdou Bn
Member
Join Date: Sep 2019
Old 01-27-2020 , 07:30   Re: Help ?
Reply With Quote #7

u need to add a hud on ur level systeme
Abdou Bn is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-27-2020 , 07:50   Re: Help ?
Reply With Quote #8

Quote:
Originally Posted by Abdou Bn View Post
u need to add a hud on ur level systeme
What are you talking about? Of course there is a HUD in there. There are even images of it in the thread.
Did you not see the thread, the configuration file or the HUD itself? I'm speechless.
__________________

Last edited by OciXCrom; 01-27-2020 at 07:53.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Abdou Bn
Member
Join Date: Sep 2019
Old 02-16-2020 , 16:04   Re: Help ?
Reply With Quote #9

ah sorry i will disable this level and update it to ur rank system
Abdou Bn 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 04:16.


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