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 04-06-2012 , 20:43   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1011

It allows all weapons
Dr!fter is offline
Miss.Xantis
Senior Member
Join Date: Oct 2009
Old 04-07-2012 , 04:11   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1012

Why can i buy a AWP in the console?

"buy awp" or buy "buy magnum"

I canīt find my fault.





Code:
sm_restrict_awp_ct "0"
sm_restrict_awp_t "0"

// Sound to play when a weapon is restricted (leave blank to disable)
sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

// If 1 disables ff during warmup. If 0 leaves ff enabled
// -
// Default: "1"
sm_warmup_disable_ff "1"

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "1"

// Weather or not give infinite grenades if warmup weapon is grenades
// -
// Default: "1"
sm_warmup_infinite "1"

// Respawn players during warmup
// -
// Default: "1"
sm_warmup_respawn "1"

// Time after death before respawning player
sm_warmup_respawn_time "0.5"

// How long in seconds warmup lasts
sm_warmup_time "45"

// Enables admin immunity so admins can buy restricted weapons
sm_weapon_restrict_immunity "0"

// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
sm_allow_awp_pickup "0"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
sm_allow_restricted_pickup "0"

// If enabled will count bots in per player restricts
sm_perplayer_bots "0"

// If enabled will restrict awp per player count
sm_perplayer_restrict "1"

// If enabled will count specs in per player restricts
sm_perplayer_specs "1"
Miss.Xantis is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-07-2012 , 17:30   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1013

Quote:
Originally Posted by Miss.Xantis View Post
Why can i buy a AWP in the console?

"buy awp" or buy "buy magnum"

I canīt find my fault.





Code:
sm_restrict_awp_ct "0"
sm_restrict_awp_t "0"

// Sound to play when a weapon is restricted (leave blank to disable)
sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

// If 1 disables ff during warmup. If 0 leaves ff enabled
// -
// Default: "1"
sm_warmup_disable_ff "1"

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "1"

// Weather or not give infinite grenades if warmup weapon is grenades
// -
// Default: "1"
sm_warmup_infinite "1"

// Respawn players during warmup
// -
// Default: "1"
sm_warmup_respawn "1"

// Time after death before respawning player
sm_warmup_respawn_time "0.5"

// How long in seconds warmup lasts
sm_warmup_time "45"

// Enables admin immunity so admins can buy restricted weapons
sm_weapon_restrict_immunity "0"

// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
sm_allow_awp_pickup "0"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
sm_allow_restricted_pickup "0"

// If enabled will count bots in per player restricts
sm_perplayer_bots "0"

// If enabled will restrict awp per player count
sm_perplayer_restrict "1"

// If enabled will count specs in per player restricts
sm_perplayer_specs "1"
sm_perplayer_restrict "1" would be my guess set it to 0 also you didnt post the ct convar for awp.
Dr!fter is offline
onkelchen
New Member
Join Date: Nov 2009
Old 04-08-2012 , 17:00   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1014

plugin will not running

PHP Code:
22:53:38 Listing 4 plugins:
           [
01SourceMod (1.4.0-devby AlliedModders LLC
           
[02CS:S Tools (1.4.0-devby AlliedModders LLC
           
[03SDK Tools (1.4.0-devby AlliedModders LLC
           
[04SDK Hooks (2.1.0by Tsunamipsychonic
           
22
:54:13 [SMListing 39 plugins:
           
01 "RoundSound++" (1.1.0by ANTiCHRiST
           02 
"Quake Sounds" (2.7by daltoGrrrrrrrrrrrrrrrrrrr, and psychonic
           03 
"Admin loggin" (1.0by vIr-Dan
           04 
"AdminConnectmsg" (0.0.3by R-Hehl
           05 
"Fun Commands" (1.4.0-devby AlliedModders LLC
           06 
"NoBlock" (1.4.2by Otstrel.ru Team
           07 
"Map Nominations" (1.4.0-devby AlliedModders LLC
           08 
"Paintball" (1.2.0by otstrel.ru Team
           09 
"Nextmap" (1.4.0-devby AlliedModders LLC
           10 
"VAC Status Checker" (1.3.4by Stevo.TVR
           11 
"Basic Ban Commands" (1.4.0-devby AlliedModders LLC
           12 
"Admin File Reader" (1.4.0-devby AlliedModders LLC
           13 
"Sound Commands" (1.4.0-devby AlliedModders LLC
           14 
"Anti-Flood" (1.4.0-devby AlliedModders LLC
           15 
"Anti-TK" (1.1.3by Rothgar
           16 
"Basic Votes" (1.4.0-devby AlliedModders LLC
           17 
"CSS Throwing Knives" (1.2.2bby meng
           18 
"Fun Votes" (1.4.0-devby AlliedModders LLC
           19 
"Basic Chat" (1.4.0-devby AlliedModders LLC
           20 
"Reserved Slots" (1.4.0-devby AlliedModders LLC
           21 
"Anti Camp Pro CS:S" (0.5by Den Grnes (den_gruenes@gmx.de)
           
22 "Admin Menu" (1.4.0-devby AlliedModders LLC
           23 
"Basic Commands" (1.4.0-devby AlliedModders LLC
           24 
"Welcome Sound" (0.0.1by R-Hehl
           25 
"Show Damage" (1.0.7by exvel
           26 
"Basic Comm Control" (1.4.0-devby AlliedModders LLC
           27 
"Player Commands" (1.4.0-devby AlliedModders LLC
           28 
"DeadChat" (2.0by Greyscale
           29 
"Rock The Vote" (1.4.0-devby AlliedModders LLC
           30 
"MapChooser" (1.4.0-devby AlliedModders LLC
           31 
"Healthkit On Death" (1.7.1by Knagg0
           32 
"QuickDefuse" (0.3by pRED*
           
33 "Client Preferences" (1.4.0-devby AlliedModders LLC
           34 
"Players Votes" (1.5.0by The ResidentpZv!
           
35 "Advanced c4 Countdown Timer" (1.4.1by dalto
           36 
"Basic Info Triggers" (1.4.0-devby AlliedModders LLC
           37 
"Admin Help" (1.4.0-devby AlliedModders LLC
           38 
"Team Bets" (2.6by GrimReaper Original by ferret
           39 
<Failed"Weapon Restrict" (3.0.8by Dr!fter           
           
22
:54:49 [SMDisplaying 10 extensions:
         [
01Automatic Updater (1.4.0-dev): Updates SourceMod gamedata files
         
[02Webternet (1.4.0-dev): Extension for interacting with URLs
         
[03CS:S Tools (1.4.0-dev): CS:S extended functionality
         
[04BinTools (1.4.0-dev): Low-level C/C++ Calling API
         
[05SDK Tools (1.4.0-dev): Source SDK Tools
         
[06Client Preferences (1.4.0-dev): Saves client preference settings
         
[07SQLite (1.4.0-dev): SQLite Driver
         
[08Top Menus (1.4.0-dev): Creates sorted nested menus
         
[09SDK Hooks (2.1.0): Source SDK Hooks
         
[10Socket (3.0.1): Socket extension for SourceMod 
onkelchen is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-08-2012 , 17:05   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1015

Quote:
Originally Posted by onkelchen View Post
plugin will not running

[/PHP]
What is in your error logs? It will give more information as to why it's not running.
__________________
View my Plugins | Donate
TnTSCS is offline
onkelchen
New Member
Join Date: Nov 2009
Old 04-08-2012 , 17:15   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1016

PHP Code:
L 04/08/2012 23:14:07SourceMod error session started
L 04
/08/2012 23:14:07Info (map "de_dust2") (file "errors_20120408.log")
L 04/08/2012 23:14:07: [SMWarning(sencountered in translation file "plugin.quakesounds.txt"
L 04/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 5.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 13.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 21.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 29.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 37.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 45.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 53.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 61.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 69.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 77.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 85.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 93.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 101.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 109.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 117.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 125.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 133.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 141.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 149.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 157.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 165.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 180.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 188.
L 04
/08/2012 23:14:07: [SMWarning(sencountered in translation file "showdamage.phrases.txt"
L 04/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 5.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 12.
L 04
/08/2012 23:14:07: [SMIgnoring translation to invalid language "#format" on line 19.
L 04
/08/2012 23:14:07: [SMUnable to load plugin "weapon_restrict.smx"Native "CS_GetWeaponPrice" was not found
L 04
/08/2012 23:14:08: [RoundSound++.smxNo team has win the round
0o
onkelchen is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-08-2012 , 18:52   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1017

you need SM 1.4.0+ - update your sourcemod to the latest stable version
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-08-2012 at 18:52.
TnTSCS is offline
DHJ
Member
Join Date: Feb 2007
Old 04-11-2012 , 12:34   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1018

Can you please do so you can restrict for one player? By steamid or userid?

Could be really nice
DHJ is offline
Miss.Xantis
Senior Member
Join Date: Oct 2009
Old 04-27-2012 , 16:02   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1019

Is This a bug, that i can buy the AWP with the console?

type "buy magnum" in the console.


weapon_restrict.cfg

Quote:
// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
// Default: "1"
sm_allow_awp_pickup "1"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
// Default: "0"
sm_allow_restricted_pickup "1"

// If enabled will count bots in per player restricts
// Default: "1"
sm_perplayer_bots "1"

// If enabled will restrict awp per player count
// Default: "0"
sm_perplayer_restrict "1"

// If enabled will count specs in per player restricts
// Default: "1"
sm_perplayer_specs "1"

sm_restrict_awp_ct "0"
sm_restrict_magnum_ct "0"
sm_restrict_awp_t "0"
sm_restrict_magnum_t "0"

sm_restrict_g3sg1_ct "0"
sm_restrict_g3sg1_t "0"

sm_restrict_sg550_ct "0"
sm_restrict_sg550_t "0"

sm_restrict_scout_ct "1"
sm_restrict_scout_t "1"

sm_restrict_ak47_ct "-1"
sm_restrict_ak47_t "-1"

sm_restrict_aug_ct "-1"
sm_restrict_aug_t "-1"

sm_restrict_c4 "-1"

sm_restrict_deagle_ct "-1"
sm_restrict_deagle_t "-1"

sm_restrict_defuser "-1"

sm_restrict_elite_ct "-1"
sm_restrict_elite_t "-1"

sm_restrict_famas_ct "-1"
sm_restrict_famas_t "-1"

sm_restrict_fiveseven_ct "-1"
sm_restrict_fiveseven_t "-1"

sm_restrict_flashbang_ct "-1"
sm_restrict_flashbang_t "-1"

sm_restrict_galil_ct "-1"
sm_restrict_galil_t "-1"

sm_restrict_glock_ct "-1"
sm_restrict_glock_t "-1"

sm_restrict_hegrenade_ct "-1"
sm_restrict_hegrenade_t "-1"

sm_restrict_knife_ct "-1"
sm_restrict_knife_t "-1"

sm_restrict_m249_ct "-1"
sm_restrict_m249_t "-1"

sm_restrict_m3_ct "-1"
sm_restrict_m3_t "-1"

sm_restrict_m4a1_ct "-1"
sm_restrict_m4a1_t "-1"

sm_restrict_mac10_ct "-1"
sm_restrict_mac10_t "-1"

sm_restrict_mp5navy_ct "-1"
sm_restrict_mp5navy_t "-1"

sm_restrict_nvgs_ct "-1"
sm_restrict_nvgs_t "-1"

sm_restrict_p228_ct "-1"
sm_restrict_p228_t "-1"

sm_restrict_p90_ct "-1"
sm_restrict_p90_t "-1"

sm_restrict_sg552_ct "-1"
sm_restrict_sg552_t "-1"

sm_restrict_smokegrenade_ct "-1"
sm_restrict_smokegrenade_t "-1"

sm_restrict_tmp_ct "-1"
sm_restrict_tmp_t "-1"

sm_restrict_ump45_ct "-1"
sm_restrict_ump45_t "-1"

sm_restrict_usp_ct "-1"
sm_restrict_usp_t "-1"

sm_restrict_vest_ct "-1"
sm_restrict_vest_t "-1"

sm_restrict_vesthelm_ct "-1"
sm_restrict_vesthelm_t "-1"

sm_restrict_xm1014_ct "-1"
sm_restrict_xm1014_t "-1"

sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

sm_warmup_disable_ff "1"

sm_warmup_enable "1"

sm_warmup_infinite "1"

sm_warmup_respawn "1"

sm_warmup_respawn_time "0.5"

sm_warmup_time "45"

sm_weapon_restrict_immunity "0"
Miss.Xantis is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-27-2012 , 16:29   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1020

Quote:
Originally Posted by Miss.Xantis View Post
Is This a bug, that i can buy the AWP with the console?

type "buy magnum" in the console.


weapon_restrict.cfg
dam HPE and they little secrets.

*edit
can buy but can't pick up, not big problem for that ^^.

Last edited by Bacardi; 04-27-2012 at 16:33.
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 13:48.


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