AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help ? (https://forums.alliedmods.net/showthread.php?t=320633)

Abdou Bn 01-01-2020 08:13

Help ?
 
1 Attachment(s)
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

OciXCrom 01-01-2020 09:04

Re: Help ?
 
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<<8) /* 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<<18) /* 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" */

Abdou Bn 01-01-2020 09:38

Re: Help ?
 
aw Thanks so much

Abdou Bn 01-01-2020 09:39

Re: Help ?
 
when i used ur chatmanager plugin with this level sv bugs x)

Abdou Bn 01-01-2020 09:43

Re: Help ?
 
i just need now an wallhang

OciXCrom 01-01-2020 10:17

Re: Help ?
 
Quote:

Originally Posted by Abdou Bn (Post 2678650)
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.

Abdou Bn 01-27-2020 07:30

Re: Help ?
 
u need to add a hud on ur level systeme

OciXCrom 01-27-2020 07:50

Re: Help ?
 
Quote:

Originally Posted by Abdou Bn (Post 2681800)
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.

Abdou Bn 02-16-2020 16:04

Re: Help ?
 
ah sorry i will disable this level and update it to ur rank system


All times are GMT -4. The time now is 02:45.

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