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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
utaker
Senior Member
Join Date: Dec 2013
Old 02-09-2015 , 03:45   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1691

what does -1 mean in per player restrict? unlimited?
utaker is offline
ocidius
Senior Member
Join Date: Oct 2014
Old 02-10-2015 , 17:30   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1692

mean no restriction
ocidius is offline
YourStalker
Junior Member
Join Date: Jan 2015
Location: United States
Old 02-11-2015 , 21:08   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1693

Quote:
Originally Posted by mokujin View Post
Sorry but where is the instruction for installing SDKHooks?
Thank you :-)
You don't need to install it anymore, it comes with SourceMod now.
YourStalker is offline
red4911
Senior Member
Join Date: Sep 2010
Location: Russia
Old 02-14-2015 , 18:02   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1694

SM 1.7.1

Quote:
//// weapon_restrict.sp
//
// restrictinc/adminmenu.sp(404) : error 157: 'int' is a reserved keyword
// restrictinc/adminmenu.sp(405) : error 029: invalid expression, assumed zero
// restrictinc/adminmenu.sp(405) : error 036: empty statement
// restrictinc/adminmenu.sp(413) : error 017: undefined symbol "weaponArray"
// restrictinc/adminmenu.sp(413) : warning 215: expression has no effect
// restrictinc/adminmenu.sp(413) : error 001: expected token: ";", but found "]"

// restrictinc/adminmenu.sp(413) : error 029: invalid expression, assumed zero
// restrictinc/adminmenu.sp(413) : fatal error 187: too many error messages on o
ne line
//
// Compilation aborted.
// 7 Errors.
//
// Compilation Time: 0,41 sec
// ----------------------------------------
red4911 is offline
talpidae1337
New Member
Join Date: Aug 2011
Old 02-16-2015 , 15:08   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1695

Hello!

Im pretty new to SM so ill need your help.
I want to remove "Weapon Restrict Commands" from the SM-Adminmenu.

Im not able to find a flag that i have to change or any cvar.

Thanks for your help!
talpidae1337 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 02-16-2015 , 15:51   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1696

Quote:
Originally Posted by red4911 View Post
SM 1.7.1
I fixed it in the repo, https://bitbucket.org/Drifter321/weapon-restrict

Quote:
Originally Posted by talpidae1337 View Post
Hello!

Im pretty new to SM so ill need your help.
I want to remove "Weapon Restrict Commands" from the SM-Adminmenu.

Im not able to find a flag that i have to change or any cvar.

Thanks for your help!
https://bitbucket.org/Drifter321/wea...=default#cl-11 comment that line out and recompile the plugin.
Dr!fter is offline
talpidae1337
New Member
Join Date: Aug 2011
Old 02-17-2015 , 12:09   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1697

lol, my fault.. ignore it

Last edited by talpidae1337; 02-17-2015 at 12:14.
talpidae1337 is offline
m22b
Senior Member
Join Date: Jul 2013
Old 02-28-2015 , 21:48   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1698

Code:
L 03/01/2015 - 01:47:48: SourceMod error session started
L 03/01/2015 - 01:47:48: Info (map "de_inferno") (file "errors_20150301.log")
L 03/01/2015 - 01:47:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 03/01/2015 - 01:47:48: [SM] Native "PrintToChat" reported: Translation failed: invalid client index 7370593
L 03/01/2015 - 01:47:48: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/01/2015 - 01:47:48: [SM]   [0]  Line 99, restrictinc/natives.sp::Native_RefundMoney()
L 03/01/2015 - 01:47:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 03/01/2015 - 01:47:48: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 03/01/2015 - 01:47:48: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/01/2015 - 01:47:48: [SM]   [0]  Line 237, restrictinc/natives.sp::Native_RemoveRandom()
L 03/01/2015 - 01:47:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 03/01/2015 - 01:47:48: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 03/01/2015 - 01:47:48: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/01/2015 - 01:47:48: [SM]   [0]  Line 712, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 03/01/2015 - 01:47:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 03/01/2015 - 01:47:48: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 03/01/2015 - 01:47:48: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/01/2015 - 01:47:48: [SM]   [0]  Line 159, restrictinc/events.sp::EventRoundStart()
L 03/01/2015 - 01:59:03: Error log file session closed.

Last edited by m22b; 02-28-2015 at 21:48.
m22b is offline
ocidius
Senior Member
Join Date: Oct 2014
Old 03-07-2015 , 18:02   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1699

Quote:
L 03/06/2015 - 22:04:11: SourceMod error session started
L 03/06/2015 - 22:04:11: Info (map "de_bank") (file "errors_20150306.log")
L 03/06/2015 - 22:04:11: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 03/06/2015 - 22:04:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 22:04:11: [SM] [0] Line 281, D:\extension\plugins\weapon-restrict\include\cstrike_weapons.inc::GetWeap onPrice()
L 03/06/2015 - 22:04:11: [SM] [1] Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 03/06/2015 - 22:04:11: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 03/06/2015 - 22:04:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 22:04:11: [SM] [0] Line 76, restrictinc/functions.sp::RemoveForSpecialRound()
L 03/06/2015 - 22:04:11: [SM] [1] Line 154, restrictinc/events.sp::EventRoundStart()
L 03/06/2015 - 22:07:08: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 03/06/2015 - 22:07:08: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 22:07:08: [SM] [0] Line 281, D:\extension\plugins\weapon-restrict\include\cstrike_weapons.inc::GetWeap onPrice()
L 03/06/2015 - 22:07:08: [SM] [1] Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 03/06/2015 - 22:07:08: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 03/06/2015 - 22:07:08: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 22:07:08: [SM] [0] Line 76, restrictinc/functions.sp::RemoveForSpecialRound()
L 03/06/2015 - 22:07:08: [SM] [1] Line 154, restrictinc/events.sp::EventRoundStart()
L 03/06/2015 - 22:107: Error log file session closed.
L 03/06/2015 - 220:13: SourceMod error session started
L 03/06/2015 - 220:13: Info (map "de_inferno") (file "errors_20150306.log")
L 03/06/2015 - 220:13: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 03/06/2015 - 220:13: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 220:13: [SM] [0] Line 281, D:\extension\plugins\weapon-restrict\include\cstrike_weapons.inc::GetWeap onPrice()
L 03/06/2015 - 220:13: [SM] [1] Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 03/06/2015 - 220:13: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 03/06/2015 - 220:13: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 03/06/2015 - 220:13: [SM] [0] Line 76, restrictinc/functions.sp::RemoveForSpecialRound()
L 03/06/2015 - 220:13: [SM] [1] Line 154, restrictinc/events.sp::EventRoundStart()
L 03/06/2015 - 22:41:54: Error log file session closed.
ocidius is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-07-2015 , 18:17   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1700

Hi,

To the last two error reports:
I've had the same recently until I updated to SM 1.7.0 and MM:S 1.10.4 (on Linux).
(I also removed for now zeus round plugin but normally it should not be linked anyway).

++
St00ne 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 20:21.


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