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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-15-2012 , 09:05   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1241

Quote:
Originally Posted by nelioneil View Post
So here is my perplayer config:


And in the normal config files, would i change the awp values to -1 or 0?

E.g.

sm_restrict_awp_t "0"
sm_restrict_awp_ct "0"
I believe it doesn't matter (cant remember lol). But its best to set it to the default value set in per player, in your case 0.

Last edited by Dr!fter; 09-15-2012 at 09:05.
Dr!fter is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-15-2012 , 09:06   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1242

Quote:
Originally Posted by nelioneil View Post
So here is my perplayer config:
Code:
"PerPlayer"
{
	"awp"
	{
		"default"	"0"
		"14"		"1"
	}
}
And in the normal config files, would i change the awp values to -1 or 0?

E.g.

sm_restrict_awp_t "0"
sm_restrict_awp_ct "0"
Perplayer "default" "number" will replace cvars, what I have tested.
__________________
Do not Private Message @me
Bacardi is offline
AdminAbuse
Junior Member
Join Date: Sep 2012
Old 09-15-2012 , 10:39   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1243

still wont read my weapon_restrict.cfg witch is in my soucemod/config file! any help???
AdminAbuse is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-15-2012 , 11:09   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1244

Quote:
Originally Posted by AdminAbuse View Post
still wont read my weapon_restrict.cfg witch is in my soucemod/config file! any help???
It not belong there... what if you look zip file how folders and files are organized.
Files will be in correct place with simple drag & drop method.
__________________
Do not Private Message @me
Bacardi is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-15-2012 , 11:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1245

Quote:
Originally Posted by AdminAbuse View Post
still wont read my weapon_restrict.cfg witch is in my soucemod/config file! any help???
Quote:
Originally Posted by Dr!fter View Post
The config is now generated on start (it always was) but I wont include it in the zip anymore as guns differ from cs:s to cs:go. Install everything, start the server make sure weapon restrict loaded (sm plugins list). go to your <moddir>/cfg/sourcemod and edit weapon_restrict.cfg
Quote:
Originally Posted by Dr!fter View Post
<moddir> for css is cstrike and for csgo is csgo. It works fine. So locate your mapcycle.txt, in the same directory there will be a cfg folder, inside that there will be a sourcemod one inside the sourcemod one will be a bunch of configs (some that come standard with sourcemod). This is my last time explaining this.
Quote:
Originally Posted by Dr!fter View Post
the config goes in cfg/sourcemod
LEARN TO READ.

Quote:
Originally Posted by Bacardi View Post
It not belong there... what if you look zip file how folders and files are organized.
Files will be in correct place with simple drag & drop method.
Not on the 3.1.0+ Since it creates the config (since weapons are different between csgo and css) and isn't included. However as i quoted above. Hes not even bothering to read.
Dr!fter is offline
AdminAbuse
Junior Member
Join Date: Sep 2012
Old 09-15-2012 , 11:21   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1246

sorry to be an idiot i just looked i read the file path wrong
AdminAbuse is offline
polyocis
New Member
Join Date: Aug 2012
Old 09-17-2012 , 17:41   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1247

Hey, love this plugin however I'm getting these errors when someone tries to purchase a restricted weapon (it lets them buy it too):
Quote:
L 09/17/2012 - 16:59:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 09/17/2012 - 16:59:14: [SM] Native "PrintToChat" reported: Language phrase "awp" not found
L 09/17/2012 - 16:59:14: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 09/17/2012 - 16:59:14: [SM] [0] Line 215, restrictinc/events.sp::CS_OnBuyCommand()
L 09/17/2012 - 16:59:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 09/17/2012 - 16:59:14: [SM] Native "PrintToChat" reported: Language phrase "awp" not found
L 09/17/2012 - 16:59:14: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 09/17/2012 - 16:59:14: [SM] [0] Line 81, restrictinc/events.sp::OnWeaponCanUse()
Running Latest sourcemod version on Windows dedicated server.
If you need any more info let me know, thanks.

Last edited by polyocis; 09-17-2012 at 17:41.
polyocis is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-18-2012 , 04:20   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1248

Quote:
Originally Posted by polyocis View Post
Hey, love this plugin however I'm getting these errors when someone tries to purchase a restricted weapon (it lets them buy it too):


Running Latest sourcemod version on Windows dedicated server.
If you need any more info let me know, thanks.
Delete all WeaponRestrict.phrases.txt files under
...addons\sourcemod\translations\subfolders.

Make sure you have main translation file here, get it from ZIP pack.
...addons\sourcemod\translations\WeaponRestri ct.phrases.txt
__________________
Do not Private Message @me

Last edited by Bacardi; 09-18-2012 at 04:21.
Bacardi is offline
adamnp
Member
Join Date: Jul 2008
Location: Connecticut
Old 09-28-2012 , 07:27   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1249

anyone else having issues restricting smoke grenades after last update?

For some reason they won't restrict for me.....
__________________
Ritmo Technology Group, LLC
Adam Piatek - Chief Technology Officer / Partner
- Cheap Ventrilo Servers - NooBGalore Gaming Community - Cheap Web Hosting - Free file hosting - Free Tech Support -

adamnp is offline
Send a message via AIM to adamnp Send a message via Skype™ to adamnp
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-28-2012 , 12:28   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1250

Quote:
Originally Posted by adamnp View Post
anyone else having issues restricting smoke grenades after last update?

For some reason they won't restrict for me.....
what game?
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 11:23.


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