Raised This Month: $ Target: $400
 0% 

Can someone change this access level to o


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Treewolf
Member
Join Date: Nov 2004
Old 12-27-2004 , 09:48   Can someone change this access level to o
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (anticamping.sma - 910 views - 8.8 KB)
File Type: zip aio_admin_menu.zip (99.5 KB, 104 views)
__________________
WC3 SavedXP Fun SeRvEr
66.208.107.143:27015
Treewolf is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-27-2004 , 15:39  
Reply With Quote #2

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".
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Treewolf
Member
Join Date: Nov 2004
Old 12-27-2004 , 18:15  
Reply With Quote #3

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
__________________
WC3 SavedXP Fun SeRvEr
66.208.107.143:27015
Treewolf is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-27-2004 , 20:19  
Reply With Quote #4


If you don't know how to script then this shouldn't be in the scripting forum.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
church
Junior Member
Join Date: Aug 2004
Old 12-29-2004 , 11:25   anticamping doesnt
Reply With Quote #5

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 is offline
church
Junior Member
Join Date: Aug 2004
Old 12-29-2004 , 11:31   Btw
Reply With Quote #6

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!
church is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-29-2004 , 14:45   Re: Btw
Reply With Quote #7

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.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 12-29-2004 , 15:16  
Reply With Quote #8

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
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
Treewolf
Member
Join Date: Nov 2004
Old 12-29-2004 , 18:58  
Reply With Quote #9

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.
__________________
WC3 SavedXP Fun SeRvEr
66.208.107.143:27015
Treewolf 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 19:17.


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