Raised This Month: $51 Target: $400
 12% 

How do i give some access in Menu?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yogevsagron
Junior Member
Join Date: Apr 2007
Old 06-06-2008 , 11:06   How do i give some access in Menu?
Reply With Quote #1

Hello all.

Quote:
// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Ad...28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
"Clan War Commands"
{
"admin" "sm_kick"
"Timelimit"
{
"cmd" "mp_timelimit #1"
"execute" "server"
"1"
{
"type" "list"
"title" "Timelimit:"
"1" "0"
"2" "15"
"3" "30"

}
}
"Tournament"
{
"cmd" "mp_tournament #1"
"execute" "server"
"1"
{
"type" "list"
"title" "Tournament:"
"1" "1"
"1." "On"
"2" "0"
"2." "Off"
}
}
"stopwatch"
{
"cmd" "mp_tournament_stopwatch #1"
"execute" "server"
"1"
{
"type" "list"
"title" "stopwatch:"
"1" "1"
"1." "On"
"2" "0"
"2." "Off"
}
}
"Class Limit"
{
"cmd" "sm_maxclass_allow #1"
"execute" "server"
"1"
{
"type" "list"
"title" "Class Limit:"
"1" "1"
"1." "On"
"2" "0"
"2." "Off"
}
}
"Tournament Restart"
{
"cmd" "mp_tournament_restart"
"execute" "server"
}
"Restart Round"
{
"cmd" "mp_restartround 1"
"execute" "server"
}
"Restart Game"
{
"cmd" "mp_restartgame 1"
"execute" "server"
}

}
}
How do i bring to some players only this option "Clan War Commands"? when i give to them "b" in access_level so they have all the options on admin menu, How do i give them only this option in the menu admin?

And do i add this "!pass" to change pass in chat? to exapmle "!pass 123" and the server change password to "123".

One more thing, i gave to one player the sign "l" in access, but he tried to do "sm_rcon sv_password bla" and its says to him "You dont have access" why? i give to them the sign "l" = Password.


Thanks very much to all.
yogevsagron is offline
Aviram1994
Member
Join Date: Jan 2007
Old 06-06-2008 , 16:50   Re: How do i give some access in Menu?
Reply With Quote #2

I didnt really understood the first thing,
But I did understand the other things,
first,
You need to make a chat trigger that if you write "!pass"
It'll call a function which will put the pass that the client wrote,
Second,
You forgot to give them sign "B"
Which sets them as admin,
They cant do anything without that.
Aviram1994 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 06:42.


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