AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Can someone change this access level to o (https://forums.alliedmods.net/showthread.php?t=8813)

Treewolf 12-27-2004 09:48

Can someone change this access level to o
 
2 Attachment(s)
Can someone change the access level of this plugin to o. It seems to be m now but I cant find where it says it. I dont know if it is m for sure but when I take away access level m from admins so they cant give people xp in wc3 it take away aio_menu also so figure it must be m. I am using the compiled version for amxx 0.20. It seems to work ok even though I really have amxx 1.0. I tried to recompile the .sma in the source code folder with amxx 1.0 but it fails.

And also, can someone tell me whats wrong with this campometer plugin? Its the only one I found in the plugin section but it doesnt work properly. When I use debug it says this error [AMXX] Native error in "get_user_attacker" on line 198 (file "anticamping.sma"). I really want a anticamping plugin and this is all i found for CZ. Thanks guys. Here are the plugins. First is anticamping and second is AIO Admin Menu.

XxAvalanchexX 12-27-2004 15:39

Code:
#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_ADMIN     (1<<24) /* flag "y" */ #define ADMIN_USER      (1<<25) /* flag "z" */

Find the ADMIN_x for flag "o" and replace it with the ADMIN_x in your script for flag "m".

Treewolf 12-27-2004 18:15

Ok, Im not sure what you are saying?? I am very noob at this and would need it explained to me a little more. Where do I find that list you have up and what do i need to do exactly in noob speach? lol. Thanks man

XxAvalanchexX 12-27-2004 20:19

http://forums.joe.to/images/smiles/pic_ohdramaimage.jpg
If you don't know how to script then this shouldn't be in the scripting forum.

church 12-29-2004 11:25

anticamping doesnt
 
I might be wrong here but anticamping is access level g. There is no admin level check in this plugin. You have to be able to use cvar commands in the server.

church 12-29-2004 11:31

Btw
 
Btw avalanche this is the scripting help. That means you help the person or atleast set them on the right track. If you dont want to help keep it to yourself. Everyone starts somewhere!

XxAvalanchexX 12-29-2004 14:45

Re: Btw
 
Quote:

Originally Posted by church
That means you help the person or atleast set them on the right track.

I did, with my first post.

-=STN=- MaGe 12-29-2004 15:16

all as you can do with the camping plugin is use amx pause plugin. there are no admin commands for it

and for aio admin go into aio_inc and open config.cfg and edit this
Code:
// Do Not Comment This Line, Simply Change it if needed... // Change to your Desired Admin Access Level (Default ADMIN_LEVEL_A [flag 'm']) #define REQD_LEVEL ADMIN_LEVEL_A
to say
Code:
// Do Not Comment This Line, Simply Change it if needed... // Change to your Desired Admin Access Level (Default ADMIN_LEVEL_C [flag 'o']) #define REQD_LEVEL ADMIN_LEVEL_C

Treewolf 12-29-2004 18:58

Thanks alot guys, I am just starting to read up on making plugins of my own. I have never did anything like this before so gonna be alot of hard work, mabye one day I can give all the good help you guys give. Thanks again.


All times are GMT -4. The time now is 19:17.

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