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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
dustydevil
Member
Join Date: Feb 2016
Old 02-05-2019 , 12:11   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2151

Windows server all .dll are there just this plugin doesn't work it says its loaded all cfg files to restrict awp and auto are correct its just not working
dustydevil is offline
Min2liz
AlliedModders Donor
Join Date: Feb 2008
Location: Street
Old 02-10-2019 , 09:09   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2152

How to fix this bug?

Quote:
L 02/10/2019 - 11:034: [SM] Blaming: weapon_restrict.smx
L 02/10/2019 - 11:034: [SM] Call stack trace:
L 02/10/2019 - 11:034: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 02/10/2019 - 11:11:29: [SM] Exception reported: Handle cefa0e84 is invalid (error 3)

L 02/10/2019 - 11:19:10: [SM] Blaming: weapon_restrict.smx
L 02/10/2019 - 11:19:10: [SM] Call stack trace:
L 02/10/2019 - 11:19:10: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 02/10/2019 - 11:20:20: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
------

Quote:
] sm version
SourceMod Version Information:
SourceMod Version: 1.9.0.6275
SourcePawn Engine: 1.9.0.6275, jit-x86 (build 1.9.0.6275)
SourcePawn API: v1 = 4, v2 = 12
Compiled on: Jan 19 2019 04:287
Built from: https://github.com/alliedmodders/sou...commit/eb6a39e
Build ID: 6275:eb6a39e
http://www.sourcemod.net/
Quote:
] meta version
Metamod:Source version 1.10.7-dev
Built from: https://github.com/alliedmodders/met...commit/2418a49
Build ID: 968:2418a49
Loaded As: Valve Server Plugin
Compiled on: Dec 19 2018
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Quote:
] sm plugins info 50
Filename: weapon_restrict.smx
Title: Weapon Restrict (Weapon restrict)
Author: Dr!fter
Version: 3.1.7
URL: www.spawnpoint.com
Status: running
Timestamp: 04/19/2017 14:17:27
Hash: 41b531bbb7a776213c08e759494c347b

Last edited by Min2liz; 02-10-2019 at 09:10.
Min2liz is offline
Nortroll
Junior Member
Join Date: Feb 2019
Old 03-11-2019 , 15:58   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2153

Not working for CS:GO, will someone fix this plugin for CS:GO?
Nortroll is offline
Nexd
BANNED
Join Date: Dec 2013
Location: Hungary
Old 03-11-2019 , 16:54   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2154

Quote:
Originally Posted by Nortroll View Post
Not working for CS:GO, will someone fix this plugin for CS:GO?
Worked well for me, now im jusing my own one
Nexd is offline
YenFong
Junior Member
Join Date: Feb 2019
Old 03-17-2019 , 07:01   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2155

how do i unrestrict specific group like vip
i want everyone cant use awp except for vip
YenFong is offline
Fall1ngLight
Junior Member
Join Date: Nov 2018
Old 03-18-2019 , 04:20   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2156

Hello, I'm new at modding, so I'm sorry if I'm wrong in something.
I'd like to ask, is there a cvar which is disable buying weapons over the max limit?
I have the cvars set to:
sm_restrict_awp_ct "1"
sm_restrict_awp_t "1"
sm_allow_awp_pickup "0"
sm_allow_restricted_pickup "0"
sm_perplayer_specs "0"
sm_perplayer_bots "0"

With these cvars I can buy 2 awps, but I can't pick up -> So the players can buy an awp for nothing, because they can't use it.

Is there a cvar with I can disable this?
Thanks for your answear.
Fall1ngLight is offline
Alexunder
Member
Join Date: Jun 2018
Old 03-20-2019 , 10:37   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2157

plugins is work , but i have error in the console :
Quote:
[SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
[SM] Blaming: weapon_restrict.smx
[SM] Call stack trace:
[SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
Alexunder is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-21-2019 , 06:16   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2158

Quote:
Originally Posted by Fall1ngLight View Post
Hello, I'm new at modding, so I'm sorry if I'm wrong in something.
I'd like to ask, is there a cvar which is disable buying weapons over the max limit?
I have the cvars set to:
sm_restrict_awp_ct "1"
sm_restrict_awp_t "1"
sm_allow_awp_pickup "0"
sm_allow_restricted_pickup "0"
sm_perplayer_specs "0"
sm_perplayer_bots "0"

With these cvars I can buy 2 awps, but I can't pick up -> So the players can buy an awp for nothing, because they can't use it.

Is there a cvar with I can disable this?
Thanks for your answear.
You are talking about buying and dropping is my guess. And no there is no way, weapon on the floor has no owner...

Quote:
Originally Posted by YenFong View Post
how do i unrestrict specific group like vip
i want everyone cant use awp except for vip
Quote:
Originally Posted by Alexunder View Post
plugins is work , but i have error in the console :
I canít help you read
Dr!fter is offline
Godzilla
Junior Member
Join Date: Oct 2017
Old 04-03-2019 , 20:31   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2159

I just want to ban awp g3sg1 scar
Godzilla is offline
Leqz
New Member
Join Date: May 2019
Old 05-14-2019 , 14:23   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2160

The plugin does work well, however it print this error pretty often in the console

Code:
L 05/14/2019 - 19:20:43: [SM] Exception reported: Array index out-of-bounds (index 64, limit 55)
L 05/14/2019 - 19:20:43: [SM] Blaming: weapon_restrict.smx
L 05/14/2019 - 19:20:43: [SM] Call stack trace:
L 05/14/2019 - 19:20:43: [SM]   [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
edit: got it fixed with 1.9

Last edited by Leqz; 05-16-2019 at 09:45. Reason: fix
Leqz is offline
Reply


Thread Tools
Display Modes

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 17:02.


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