Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-07-2010 , 17:50   Re: [CSS] Weapon Restrict
Reply With Quote #581

It works, but the code could use updating. The current method is a bit glitchy with flashbangs, but I'll have a new version out within a few days that fixes it up :-3.
__________________
thetwistedpanda is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-08-2010 , 08:21   Re: [CSS] Weapon Restrict
Reply With Quote #582

Quote:
Originally Posted by thetwistedpanda View Post
It works, but the code could use updating. The current method is a bit glitchy with flashbangs, but I'll have a new version out within a few days that fixes it up :-3.
You are RoboCode or Scriptinator men. You're releasing stuff almost day by day, it's awesome.
__________________
GrO is offline
siangc
Senior Member
Join Date: Mar 2010
Old 11-08-2010 , 11:26   Re: [CSS] Weapon Restrict
Reply With Quote #583

great, thanks for your help I'll check out panda's plugin.
__________________
siangc is offline
Devilfish
Senior Member
Join Date: Jan 2006
Old 11-14-2010 , 14:13   Re: [CSS] Weapon Restrict
Reply With Quote #584

Any chance of a cvar to set the admin flag?
__________________
SimianCage - Where Monkeys have Guns & Drink beer!
>Join Simiancage Steam Community Here<
Is it fixed? D3v can break it!
Devilfish is offline
Send a message via ICQ to Devilfish
T4rg3T
Junior Member
Join Date: Nov 2010
Old 11-15-2010 , 10:48   Re: [CSS] Weapon Restrict
Reply With Quote #585

I'm having a little issues with this plugin and I wanted to see if someone could assist.

I've tried setting the config itself and using the admin menu to restrict weapons but how do I keep them perminantly restricted after map change? It doesn't seem to hold. I apologize of if missed it as I didn't read all 59 pages of this thread.
T4rg3T is offline
T4rg3T
Junior Member
Join Date: Nov 2010
Old 11-15-2010 , 11:21   Re: [CSS] Weapon Restrict
Reply With Quote #586

Maybe is was a config issue. Should weapons be set to 0 to disabled them in the config? If so, that was my mistake as I was confused with the -1. I changed the config and will try again.
T4rg3T is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-15-2010 , 11:39   Re: [CSS] Weapon Restrict
Reply With Quote #587

Quote:
Originally Posted by T4rg3T View Post
I'm having a little issues with this plugin and I wanted to see if someone could assist.

I've tried setting the config itself and using the admin menu to restrict weapons but how do I keep them perminantly restricted after map change? It doesn't seem to hold. I apologize of if missed it as I didn't read all 59 pages of this thread.
Can't done this using admin commands sm_restrict weapon amount team

You need change cvars's, change using admin command sm_cvar, rcon or execute config files from server...
sm_cvar sm_restrict_ak47_ct "-1"
rcon sm_restrict_ak47_t "-1"

Remember
Plugin create and use own config file ...cfg/sourcemod/weapon_restrict.cfg
every map change it execute that file and reset cvars back if changed.

If you change cvars during gameplay and want them to stay after mapchange,
edit ...cfg/sourcemod/weapon_restrict.cfg
and comment that //cvar what you don't want to reset.
Bacardi is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-15-2010 , 11:52   Re: [CSS] Weapon Restrict
Reply With Quote #588

Quote:
Originally Posted by T4rg3T View Post
Maybe is was a config issue. Should weapons be set to 0 to disabled them in the config? If so, that was my mistake as I was confused with the -1. I changed the config and will try again.
-1 unrestrics 0 completely restricts any other positive number restricts it to that ammount

Quote:
Originally Posted by Devilfish View Post
Any chance of a cvar to set the admin flag?
Not at this time. You can change the flag defined in the source code and compile it.
Dr!fter is offline
tazzle0870
Senior Member
Join Date: May 2010
Old 11-15-2010 , 18:15   Re: [CSS] Weapon Restrict
Reply With Quote #589

I want to set server up 1 awp per team. I installed weapons restrict plug
Its blocking d3/au-1 and the kreig 550. so the plug is working. However more then one awp is allowed to each team. I set this up
"AwpRestrict"
{
"awp"
{
"4" "1"
"8" "1"
"12" "1"
}
}
// This file was auto-generated by SourceMod (v1.3.3-dev)
// ConVars for plugin "weapon_restrict.smx"


// If set to 1 it will NOT remove restricted weapons on pickup but rather on Round start, if set to 0 it will remove on pickup
// -
// Default: "-1"
sm_allow_restricted_pickup "-1"

// If enabled will restrict awp per player count
// -
// Default: "-1"
sm_perplayer_restrict "-1"

any one see whats wrong.
tazzle0870 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-15-2010 , 18:22   Re: [CSS] Weapon Restrict
Reply With Quote #590

yea.. those default values you posted are wrong... and if you want to just restrict it to 1 for awp set sm_perplayer_restrict "0" and then find the cvars for awp and set those to 1 sm_allow_restricted_pickup has values of 0 or 1 not -1
Dr!fter 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 00:21.


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