Raised This Month: $32 Target: $400
 8% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
kdawgmaster
Member
Join Date: Jul 2009
Old 09-05-2012 , 09:54   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1211

Quote:
Originally Posted by Bacardi View Post
Admins who have access to so called command "sm_restrict_immunity_level" get immunity to restrict weapons.
This is flagged by default to "a" (reservation)

- To get it work flawless, don't give anyone root access "z".
- From admin_overrides.cfg you can change command admin flag to else and can also set 2 or more flags to it, admins just need have all these flags also to get access.
- Using admin_groups.cfg you can override this only command "allow" or "deny", not need mess with admin letters
where do i place the sm_restrict_immunity_level? is it in the .cfg where i edit so i can make restrict the certain weapons?
kdawgmaster is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-05-2012 , 10:55   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1212

Click Me.
Dr!fter is offline
Jaashua
Junior Member
Join Date: Aug 2012
Old 09-05-2012 , 18:28   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1213

so the only way to give them immunity to weapon restricts is to give them immunity to everything else?


"sm_restrict_immunity_level" "o" in admin_levels.cfg?

for example: if i give them this will they be able to slay, kick me ?

I have 99;z everyone else has 98;bcdefghi"

Last edited by Jaashua; 09-05-2012 at 18:28.
Jaashua is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-05-2012 , 18:32   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1214

Quote:
Originally Posted by Jaashua View Post
blaablaa balaa


"sm_restrict_immunity_level" "o" in admin_levels.cfg?
blarp
And who said you edit this file ? Who ?
Bacardi is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-05-2012 , 18:35   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1215

Quote:
Originally Posted by Jaashua View Post
so the only way to give them immunity to weapon restricts is to give them immunity to everything else?


"sm_restrict_immunity_level" "o" in admin_levels.cfg?

for example: if i give them this will they be able to slay, kick me ?

I have 99;z everyone else has 98;bcdefghi"
Quote:
Originally Posted by Dr!fter View Post
Dr!fter is offline
Jaashua
Junior Member
Join Date: Aug 2012
Old 09-06-2012 , 02:33   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1216

I'm just going to point out that not everyone understands this stuff. I read that page it didn't help. Thanks for the link.
Jaashua is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-06-2012 , 02:51   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1217

Quote:
Originally Posted by Jaashua View Post
I'm just going to point out that not everyone understands this stuff. I read that page it didn't help. Thanks for the link.
...addons/sourcemod/configs/admin_overrides.cfg
Code:
Overrides
{
	/**
	 * By default, commands are registered with three pieces of information:
	 * 1)Command Name 		(for example, "csdm_enable")
	 * 2)Command Group Name	(for example, "CSDM")
	 * 3)Command Level		(for example, "changemap")
	 *
	 * You can override the default flags assigned to individual commands or command groups in this way.
	 * To override a group, use the "@" character before the name.  Example:
	 * Examples:
	 *		"@CSDM"			"b"				// Override the CSDM group to 'b' flag
	 * 		"csdm_enable"	"bgi"			// Override the csdm_enable command to 'bgi' flags
	 *
	 * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
	 * any setting that csdm_enable previously had.
	 *
	 * You can make a command completely public by using an empty flag string.
	 */
	 "sm_restrict_immunity_level" "o"
}
__________________
Do not Private Message @me
Bacardi is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 09-06-2012 , 22:20   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1218

If I wanted to say only allow two AWPS per team in my CSGO server, can this plugin do that, or is it all or none?
Cain is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-06-2012 , 23:12   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1219

Cain, yes - all three

btw, have you seen Able?
__________________
View my Plugins | Donate

Last edited by TnTSCS; 09-06-2012 at 23:13.
TnTSCS is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 09-07-2012 , 05:18   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1220

LOL TnTSCS ..

That is my real surname. I always say "Like Cain and Able" ... But these days it seems most folks do not understand what I'm talking about!!

Many thanks on the reply, this is so simple I'm embarrassed. So all I do is enter the number I want to allow, 1-whatever.

Last edited by Cain; 09-07-2012 at 05:31.
Cain 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 01:23.


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