Raised This Month: $ Target: $400
 0% 

Admins not to touch cvars?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
qnkov
Member
Join Date: Dec 2010
Old 02-17-2011 , 09:37   Admins not to touch cvars?
Reply With Quote #1

How can i make the admins into my servur from amxmodmenu not to change cvars menu? Because some of them are touching Friendlyfire... bcdefouij Those are the flags that they have? How can i make it, only ban/kick/slay and changemap they to use? Maybe i need to delete the option Cvars from amxmodmenu?

; Menu configuration file
; File location: $moddir/addons/amxmodx/configs/cvars.ini
; To use with Commands Menu plugin

; Cvars Menu:
; < cvar > < values > ... < access level >

"mp_timelimit" "0" "30" "45" "u"
"sv_password" "" "mypw" "clanwar" "u"
"pausable" "0" "1" "u"
"sv_voiceenable" "0" "1" "u"
"mp_chattime" "0" "1" "3" "u"
"mp_logmessages" "0" "1" "u"
"mp_friendlyfire" "0" "1" "u"
"mp_limitteams" "0" "1" "2" "u"
"mp_autoteambalance" "0" "1" "2" "u"
"allow_spectators" "0" "1" "u"
"mp_freezetime" "0" "6" "u"
"mp_buytime" "1" "0.5" "u"
"mp_startmoney" "800" "1800" "3600" "u"
"mp_c4timer" "35" "45" "15" "u"
"mp_forcechasecam" "0" "1" "2" "u"


Deleting all this will help?

Last edited by qnkov; 02-17-2011 at 09:48.
qnkov is offline
8088
Veteran Member
Join Date: Jan 2008
Old 02-17-2011 , 11:28   Re: Admins not to touch cvars?
Reply With Quote #2

Setting the right flags will help.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
qnkov
Member
Join Date: Dec 2010
Old 02-17-2011 , 12:40   Re: Admins not to touch cvars?
Reply With Quote #3

I find how. Now i need to know how to change the flag for the CSDM MENU From amxmodmenu. I want only "a" flag to be able to enable and disable CSDM MENU from amxmodmenu, but where i need to go to find it and change the flag?


edit: I find where csdm.main.amxx.... but i can't complie the .sma file with the changes A_ACESS... even with normal settings, it can't be complied? Says "
csdm_main.sma(1 : fatal error 100: cannot read from file: "csdm"

Last edited by qnkov; 02-17-2011 at 12:51.
qnkov is offline
8088
Veteran Member
Join Date: Jan 2008
Old 02-17-2011 , 14:40   Re: Admins not to touch cvars?
Reply With Quote #4

scripting/includes/csdm.inc is required in order to compile.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
qnkov
Member
Join Date: Dec 2010
Old 02-17-2011 , 15:22   Re: Admins not to touch cvars?
Reply With Quote #5

In what means its required? How? Im throwing .sma file into my amxmodx studio then clicking complie? How that .ini file is required? I have the file, its at that directory. If its easier to do it instead explain it, i want just all D_ACCESS into csdm-main, to be changed to A_ACCESS without that new D_ACCESS = ADMIN_MAP


This is the error into my amxmodx studio now - D:\sssssss\files\base\scripting\include\amxmo dx.inc(25) : fatal error 100: cannot read from file: "celltrie"


This is the error into the web complie that i used -
csdm_main.sma(1 : fatal error 100: cannot read from file: "csdm"

Last edited by qnkov; 02-17-2011 at 15:36.
qnkov is offline
8088
Veteran Member
Join Date: Jan 2008
Old 02-17-2011 , 15:58   Re: Admins not to touch cvars?
Reply With Quote #6

Quote:
Originally Posted by qnkov View Post
In what means its required?
http://www.thefreedictionary.com/required
Quote:
How?
By copying csdm.inc to scripting/includes/.
Quote:
Im throwing .sma file into my amxmodx studio then clicking complie?
As long as you meet all requirements, which you don't, this should work fine.
Quote:
How that .ini file is required?
What? It's csdm.inc, not csdm.ini.
Quote:
I have the file, its at that directory.
Someone is disagreeing with you.

Quote:
This is the error into my amxmodx studio now - D:\sssssss\files\base\scripting\include\amxmo dx.inc(25) : fatal error 100: cannot read from file: "celltrie"
http://www.google.com/search?q=canno...%3A+"celltrie" -> http://forums.alliedmods.net/showthr...439#post671439

Quote:
This is the error into the web complie that i used -
csdm_main.sma(18) : fatal error 100: cannot read from file: "csdm"
You can't use the webcompiler if you need custom includes.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
qnkov
Member
Join Date: Dec 2010
Old 02-17-2011 , 17:07   Re: Admins not to touch cvars?
Reply With Quote #7

I know what required means. You should just post me about that error into amxmodx.inc. I fix the problem, but i can't change the acess?
AddMenuItem("CSDM Menu", "csdm_menu", D_ACCESS, D_PLUGIN)

When i change D_ACESS to A_ACESS i got an error line 94 etc.. can't complie? So, how can i change the flag for csdm menu? D will be "d" flag. I need to change it. Or that D_ACESS doesnt mean "d" flag for csdm menu?

Last edited by qnkov; 02-17-2011 at 17:14.
qnkov is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-17-2011 , 18:31   Re: Admins not to touch cvars?
Reply With Quote #8

Quote:
Originally Posted by qnkov View Post
Or that D_ACESS doesnt mean "d" flag for csdm menu?
Correct. D_ACCESS is just a variable. Change D_ACCESS to ADMIN_IMMUNITY for flag "a".
__________________
fysiks is offline
qnkov
Member
Join Date: Dec 2010
Old 02-17-2011 , 21:09   Re: Admins not to touch cvars?
Reply With Quote #9

You are KAMI for me. That helped. Why people can't answer like you and throwing me with such long writes.
qnkov is offline
8088
Veteran Member
Join Date: Jan 2008
Old 02-17-2011 , 21:57   Re: Admins not to touch cvars?
Reply With Quote #10

You're welcome.
__________________
steamID converter with OpenSearch browser plugin

Last edited by Seta00; 02-18-2011 at 07:48.
8088 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 18:04.


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