Raised This Month: $ Target: $400
 0% 

admin_overrides.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-03-2012 , 08:05   admin_overrides.cfg
Reply With Quote #1

Hi. I'm trying to edit the admin_overrides.cfg. I'm trying to set it up on my server so a donator can use a command to teleport to the skybox on my Unusual/Promo Trading server and not have accass to the full teleport command.

The one command I want to work is sm_teleport @me -2389.258056 -4447.823730 307.036804

I can give access to sm_teleport but I want to limit it to the one command only so a user does not have access to the full command.

Last edited by ItsEvergreen; 09-03-2012 at 08:08.
ItsEvergreen is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-03-2012 , 08:18   Re: admin_overrides.cfg
Reply With Quote #2

adminmenu_grouping:
Code:
/* Add group options to be added to 'group' or 'groupplayer' type submenus
 * The left side is the name that will show in the menu, right is the command that will be fired
 *
 * For more information: http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29
 */	

Groups
{
	"All"					"@all"
	"Bots"					"@bots"
	"Alive"					"@alive"
	"Dead"					"@dead"
	"Humans"				"@humans"
	"Current aim"			"@aim"

	/* You can enable these if you are using Counter-Strike Source and running the cstrike extension */
//	"Terrorists"			"@t"
//	"Counter-Terrorists"	"@ct"

}
I don't think you can just use @me or @self. Correct me if I'm wrong. You could try for example:

"sm_teleport ItsEvergreen" "adminflag"
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-03-2012 , 08:31   Re: admin_overrides.cfg
Reply With Quote #3

If your wondering if the command works or something or whatever. Will the command works fine for me. That's not the problem. Thanks but it did not work oh will I'm not having a problem with the command working, it works fine. I want to limit it, like in the way I have explained.

Last edited by ItsEvergreen; 09-03-2012 at 09:36.
ItsEvergreen is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-03-2012 , 08:50   Re: admin_overrides.cfg
Reply With Quote #4

You need request new little plugin for to donators.

If you give them admin command, where you can target other(s), you can't limit them targeting (expect when admins immunity comes against)

*edit
Here if you want. Usage
Code:
sm_teleportme x y z
sm_teleportme save
sm_teleportme
Spoiler

Last edited by Bacardi; 09-03-2012 at 09:26.
Bacardi is offline
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-03-2012 , 09:29   Re: admin_overrides.cfg
Reply With Quote #5

Thanks Ill try this/these
ItsEvergreen is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-03-2012 , 09:33   Re: admin_overrides.cfg
Reply With Quote #6

aaa did you wanted only to work in this one location ?
-2389.258056 -4447.823730 307.036804

*edit
Code:
sm_teleportme
Spoiler

Last edited by Bacardi; 09-03-2012 at 09:48.
Bacardi is offline
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-03-2012 , 10:15   Re: admin_overrides.cfg
Reply With Quote #7

yes maybe more later if i pick, them
ItsEvergreen is offline
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-04-2012 , 01:43   Re: admin_overrides.cfg
Reply With Quote #8

Will I get this message when I try to use it/the command.

] sm_teleportme
Unknown command: sm_teleportme
ItsEvergreen is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-04-2012 , 07:01   Re: admin_overrides.cfg
Reply With Quote #9

any errors in SM log files.

You have loaded plugin
rcon sm plugins list
Bacardi is offline
ItsEvergreen
Junior Member
Join Date: Sep 2012
Old 09-04-2012 , 08:34   Re: admin_overrides.cfg
Reply With Quote #10

Ok I ckecked and there where some errors, but no errors that I seen for the Teleport Plugin / teleport.smx. I have deleted the files causing the errors, but its still not working. And are you sure that sm_teleportme is a valid command? Does it work for you? And what plugin are you using to teleport if it does work or whatever?

Last edited by ItsEvergreen; 09-04-2012 at 09:46.
ItsEvergreen 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 12:49.


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