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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
asdfxD
Veteran Member
Join Date: Apr 2011
Old 05-15-2021 , 06:07   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2221

configure the perplayerrestrict.txt file if you set sm_perplayer_restrict "1".

default:
Code:
"PerPlayer"
{
	"awp"
	{
		"default"		"0"
		"10"			"1"
		"18"			"2"
	}
	"usp"
	{
		"default"		"-1"
		"18"			"0"
	}
	"flashbang"
	{
		"default"		"-1"
		"20"			"10"
	}
	"defuser"
	{
		"default"		"-1"
		"20"			"100"
	}
}
asdfxD is offline
CosminM24
New Member
Join Date: May 2021
Old 05-29-2021 , 18:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2222

any way i can make a flag to override the restrictions?
CosminM24 is offline
Martinro12
Junior Member
Join Date: Apr 2021
Old 06-16-2021 , 17:23   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2223

I have a problem with this plugin. I do the cfg to restrict weapon in one map but when the player buy one weapon it drop to the floor always i dont know why

sm_restrict_awp_ct "0"
sm_restrict_awp_t "0"
sm_allow_awp_pickup "1"
Martinro12 is offline
hajrullah
Junior Member
Join Date: Nov 2008
Old 09-22-2021 , 03:44   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2224

since Operation Riptide Update, plugin crashes server!
Any update?
hajrullah is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 09-22-2021 , 23:17   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2225

since update.

L 09/22/2021 - 23:46:40: [SM] Call stack trace:
L 09/22/2021 - 23:46:40: [SM] [0] ThrowNativeError
L 09/22/2021 - 23:46:40: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/22/2021 - 23:46:40: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/22/2021 - 23:46:40: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/22/2021 - 23:46:40: [SM] [6] Restrict_GetTeamWeaponCount
L 09/22/2021 - 23:46:40: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/22/2021 - 23:46:40: [SM] [9] Restrict_CanPickupWeapon
L 09/22/2021 - 23:46:40: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/22/2021 - 23:47:57: [SM] Exception reported: Weapon slot index -1 is invalid.
L 09/22/2021 - 23:47:57: [SM] Blaming: weapon_restrict.smx
L 09/22/2021 - 23:47:57: [SM] Call stack trace:
L 09/22/2021 - 23:47:57: [SM] [0] ThrowNativeError
L 09/22/2021 - 23:47:57: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/22/2021 - 23:47:57: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/22/2021 - 23:47:57: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/22/2021 - 23:47:57: [SM] [6] Restrict_GetTeamWeaponCount
L 09/22/2021 - 23:47:57: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/22/2021 - 23:47:57: [SM] [9] Restrict_CanPickupWeapon
L 09/22/2021 - 23:47:57: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/22/2021 - 23:48:09: [SM] Exception reported: Weapon slot index -1 is invalid.
L 09/22/2021 - 23:48:09: [SM] Blaming: weapon_restrict.smx
L 09/22/2021 - 23:48:09: [SM] Call stack trace:
L 09/22/2021 - 23:48:09: [SM] [0] ThrowNativeError
L 09/22/2021 - 23:48:09: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/22/2021 - 23:48:09: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/22/2021 - 23:48:09: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/22/2021 - 23:48:09: [SM] [6] Restrict_GetTeamWeaponCount
L 09/22/2021 - 23:48:09: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/22/2021 - 23:48:09: [SM] [9] Restrict_CanPickupWeapon
L 09/22/2021 - 23:48:09: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/22/2021 - 23:49:02: [SM] Exception reported: Weapon slot index -1 is invalid.
L 09/22/2021 - 23:49:02: [SM] Blaming: weapon_restrict.smx
L 09/22/2021 - 23:49:02: [SM] Call stack trace:
L 09/22/2021 - 23:49:02: [SM] [0] ThrowNativeError
L 09/22/2021 - 23:49:02: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/22/2021 - 23:49:02: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/22/2021 - 23:49:02: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/22/2021 - 23:49:02: [SM] [6] Restrict_GetTeamWeaponCount
L 09/22/2021 - 23:49:02: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/22/2021 - 23:49:02: [SM] [9] Restrict_CanPickupWeapon
L 09/22/2021 - 23:49:02: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/22/2021 - 23:49:55: [SM] Exception reported: Weapon slot index -1 is invalid.
L 09/22/2021 - 23:49:55: [SM] Blaming: weapon_restrict.smx
asdfxD is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 09-25-2021 , 03:43   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2226

can someone update this plugin? it generates error logs with thousands of rows...
asdfxD is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 09-28-2021 , 03:04   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2227

hi guys!!

when i buy,pick or drop a riot shield, my server have this errors:

L 09/28/2021 - 100:51: [SM] Blaming: weapon_restrict.smx
L 09/28/2021 - 100:51: [SM] Call stack trace:
L 09/28/2021 - 100:51: [SM] [0] ThrowNativeError
L 09/28/2021 - 100:51: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/28/2021 - 100:51: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/28/2021 - 100:51: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/28/2021 - 100:51: [SM] [6] Restrict_GetTeamWeaponCount
L 09/28/2021 - 100:51: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/28/2021 - 100:51: [SM] [9] Restrict_CanPickupWeapon
L 09/28/2021 - 100:51: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/28/2021 - 100:51: [SM] Exception reported: Weapon slot index -1 is invalid.

can you help me??

thank you

Last edited by Dr.Mohammad; 09-28-2021 at 03:04.
Dr.Mohammad is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-23-2022 , 17:13   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2228

This plugin having to much problems , i cant fix it can anyone help please ?

L 04/23/2022 - 22:52:42: SourceMod error session started
L 04/23/2022 - 22:52:42: Info (map "de_mirage") (file "/home/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20220423.log")
L 04/23/2022 - 22:52:42: [SM] Exception reported: Array index out-of-bounds (index 64, limit 55)
L 04/23/2022 - 22:52:42: [SM] Blaming: weapon_restrict.smx
L 04/23/2022 - 22:52:42: [SM] Call stack trace:
L 04/23/2022 - 22:52:42: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
edibaba is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-25-2022 , 09:03   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2229

L 04/25/2022 - 14:59:51: [SM] [1] Line 17, restrictinc/warmup.sp::KillRespawnTimer
L 04/25/2022 - 14:59:51: [SM] [2] Line 37, restrictinc/events.sp::OnClientDisconnect


This plugin is dead i think , it continues to crash server in warmap
edibaba is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-25-2022 , 15:05   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2230

Quote:
Originally Posted by edibaba View Post
L 04/25/2022 - 14:59:51: [SM] [1] Line 17, restrictinc/warmup.sp::KillRespawnTimer
L 04/25/2022 - 14:59:51: [SM] [2] Line 37, restrictinc/events.sp::OnClientDisconnect


This plugin is dead i think , it continues to crash server in warmap
show
sm plugins list
__________________
Do not Private Message @me
Bacardi 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 12:25.


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