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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-25-2010 , 11:13   Re: [CSS] Weapon Restrict
Reply With Quote #521

Quote:
Originally Posted by Spiffy View Post
I was wondering if maybe you could make the awp restrict even better. I would like to set it up so that it is based on how many people are on the server. If say 10 players are on the server it is restricted to 1 per team, 20 players on it is restricted to 2 per team, etc. Is this possible? It would be awesome.
Quote:
Originally Posted by FrozDark View Post
2Spiffy
Quote:
per player awp restrict text file goes in sourcemod/configs/restrict/perplayerrestrict.txt
(perplayerrestrict being the name of the text file used it will automaticly be placed when you extract the zip file from above)

Inside the file should look something like this.
Code:
"AwpRestrict"
{
"awp"
{
"4" "1"
"8" "3"
"12" "4"
}
}
And don't forget edit configuration file to enable this "awp per player restrict"
...cstrike/cfg/sourcemod/weapon_restrict.cfg
Code:
// If enabled will restrict awp per player count
// -
// Default: "0"
sm_perplayer_restrict "1"
Bacardi is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 09-30-2010 , 18:40   Re: [CSS] Weapon Restrict
Reply With Quote #522

Sincce the update today I am having this crash
Code:
L 09/30/2010 - 15:31:32: [SM] Plugin encountered error 25: Call was aborted
L 09/30/2010 - 15:31:32: [SM] Native "SetFailState" reported: Unable to find WeaponDrop Signature
L 09/30/2010 - 15:31:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 09/30/2010 - 15:31:32: [SM]   [0]  Line 263, C:\Users\Gaming\Desktop\Organize Folder\desktop\sourcemod\SM SP\scripting\ZMy plugins\Weapon Restrict\version 2.3.3\weapon_restrict.sp::RegisterHacks()
L 09/30/2010 - 15:31:32: [SM]   [1]  Line 87, C:\Users\Gaming\Desktop\Organize Folder\desktop\sourcemod\SM SP\scripting\ZMy plugins\Weapon Restrict\version 2.3.3\weapon_restrict.sp::OnPluginStart()
BartholomewPSkibbenheims is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 09-30-2010 , 18:46   Re: [CSS] Weapon Restrict
Reply With Quote #523

Warbucks ... were you with TnB at one time?
BartholomewPSkibbenheims is offline
Warbucks
Senior Member
Join Date: Jun 2008
Location: Canada
Old 09-30-2010 , 18:51   Re: [CSS] Weapon Restrict
Reply With Quote #524

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
Sincce the update today I am having this crash
Code:
L 09/30/2010 - 15:31:32: [SM] Plugin encountered error 25: Call was aborted
L 09/30/2010 - 15:31:32: [SM] Native "SetFailState" reported: Unable to find WeaponDrop Signature
L 09/30/2010 - 15:31:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 09/30/2010 - 15:31:32: [SM]   [0]  Line 263, C:\Users\Gaming\Desktop\Organize Folder\desktop\sourcemod\SM SP\scripting\ZMy plugins\Weapon Restrict\version 2.3.3\weapon_restrict.sp::RegisterHacks()
L 09/30/2010 - 15:31:32: [SM]   [1]  Line 87, C:\Users\Gaming\Desktop\Organize Folder\desktop\sourcemod\SM SP\scripting\ZMy plugins\Weapon Restrict\version 2.3.3\weapon_restrict.sp::OnPluginStart()
See my post above.
Warbucks is offline
Warbucks
Senior Member
Join Date: Jun 2008
Location: Canada
Old 09-30-2010 , 18:52   Re: [CSS] Weapon Restrict
Reply With Quote #525

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
Warbucks ... were you with TnB at one time?
I was indeed, a long long time ago.
Warbucks is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 09-30-2010 , 18:53   Re: [CSS] Weapon Restrict
Reply With Quote #526

Lol I am Mr. P

BTW, still not working with your updated signatures

... same errors ...

As you know I am a noob at this ... I play with photoshop ...

Last edited by BartholomewPSkibbenheims; 09-30-2010 at 18:55.
BartholomewPSkibbenheims is offline
Warbucks
Senior Member
Join Date: Jun 2008
Location: Canada
Old 09-30-2010 , 18:56   Re: [CSS] Weapon Restrict
Reply With Quote #527

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
Lol I am Mr. P

BTW, still not working with your updated signatures

... same errors ...

As you know I am a noob at this ... I play with photoshop ...
Oh Hey. Jack said you were doing your own thing now.

Have you updated to the latest snapshot of sourcemod?
Warbucks is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 09-30-2010 , 18:58   Re: [CSS] Weapon Restrict
Reply With Quote #528

Yeah, the one that came out today I updated to. 3043 i believe

I actually just wiped the server and reinstalled everything from scratch. Only two plugins ih ave that arent working the weapon rescrict and KAC but kac is cuase i havnt reinstalled hooks yet

Last edited by BartholomewPSkibbenheims; 09-30-2010 at 19:06.
BartholomewPSkibbenheims is offline
Warbucks
Senior Member
Join Date: Jun 2008
Location: Canada
Old 09-30-2010 , 19:10   Re: [CSS] Weapon Restrict
Reply With Quote #529

Quote:
Originally Posted by BartholomewPSkibbenheims View Post
Yeah, the one that came out today I updated to. 3043 i believe

I actually just wiped the server and reinstalled everything from scratch. Only two plugins ih ave that arent working the weapon rescrict and KAC but kac is cuase i havnt reinstalled hooks yet
Grab the file now. It's fixed. I just tested it on my server.
Warbucks is offline
BartholomewPSkibbenheims
Member
Join Date: Aug 2010
Old 09-30-2010 , 19:17   Re: [CSS] Weapon Restrict
Reply With Quote #530

Quote:
Originally Posted by Warbucks View Post
Grab the file now. It's fixed. I just tested it on my server.
Still getting the exact same errors o.0. I am a tard so I am probably doing somethign wrong, but I have tried reloading it through console, unloading the loading, refreshing, map changes ... always the same error. I will say the one thing I havn't done is a full restart cause i got 20 people playing atm.

Last edited by BartholomewPSkibbenheims; 09-30-2010 at 19:22.
BartholomewPSkibbenheims 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 23:27.


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