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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 07-22-2012 , 23:40   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1091

Ive tried looking all over in this thread, but cant find the fix. The plugin never loads, and i get this error:

L 07/23/2012 - 03:10:41: SourceMod error session started
L 07/23/2012 - 03:10:41: Info (map "cs_office") (file "errors_20120723.log")
L 07/23/2012 - 03:10:41: [SM] Fatal error encountered parsing translation file "plugin.smcash.txt"
L 07/23/2012 - 03:10:41: [SM] Error (line 0, column 0): Stream failed to open
L 07/23/2012 - 03:10:41: [SM] Unable to load plugin "weapon_restrict.smx": Required extension "sdkhooks" file("sdkhooks.ext") not running


Ive installed the latest sdkhooks and SM, but im getting this error. It seems sdkhooks isnt loading. I'm actually fixing a friends server, so im not sure what the cash thing is, but ill look into that later. Any help?

Basically, no matter what i do, it doesnt restrict weapons (i wanted to restrict all auto snipers, then 1 awp per team, or none if that doesnt work). Heres some of the configs:

weapon_restrict.cfg:
// This file was auto-generated by SourceMod (v1.3.3-dev)
// ConVars for plugin "weapon_restrict.smx"


// If set to 1 it will NOT remove restricted weapons on pickup but rather on Round start, if set to 0 it will remove on pickup
// -
// Default: "0"
sm_allow_restricted_pickup "0"

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

// Restrict/Unrestrict -1 unrestricts ak47 for ct
// -
// Default: "-1"
sm_restrict_ak47_ct "-1"

// Restrict/Unrestrict -1 unrestricts ak47 for t
// -
// Default: "-1"
sm_restrict_ak47_t "-1"

// Restrict/Unrestrict -1 unrestricts aug for ct
// -
// Default: "-1"
sm_restrict_aug_ct "-1"

// Restrict/Unrestrict -1 unrestricts aug for t
// -
// Default: "-1"
sm_restrict_aug_t "-1"

// Restrict/Unrestrict -1 unrestricts awp for ct
// -
// Default: "-1"
sm_restrict_awp_ct "0"

// Restrict/Unrestrict -1 unrestricts awp for t
// -
// Default: "-1"
sm_restrict_awp_t "0"

// Restrict/Unrestrict -1 unrestricts c4 for t
// -
// Default: "-1"
sm_restrict_c4 "-1"

// Restrict/Unrestrict -1 unrestricts deagle for ct
// -
// Default: "-1"
sm_restrict_deagle_ct "-1"

// Restrict/Unrestrict -1 unrestricts deagle for t
// -
// Default: "-1"
sm_restrict_deagle_t "-1"

// Restrict/Unrestrict -1 unrestricts defuser for ct
// -
// Default: "-1"
sm_restrict_defuser "-1"

// Restrict/Unrestrict -1 unrestricts elite for ct
// -
// Default: "-1"
sm_restrict_elite_ct "-1"

// Restrict/Unrestrict -1 unrestricts elite for t
// -
// Default: "-1"
sm_restrict_elite_t "-1"

// Restrict/Unrestrict -1 unrestricts famas for ct
// -
// Default: "-1"
sm_restrict_famas_ct "-1"

// Restrict/Unrestrict -1 unrestricts famas for t
// -
// Default: "-1"
sm_restrict_famas_t "-1"

// Restrict/Unrestrict -1 unrestricts fiveseven for ct
// -
// Default: "-1"
sm_restrict_fiveseven_ct "-1"

// Restrict/Unrestrict -1 unrestricts fiveseven for t
// -
// Default: "-1"
sm_restrict_fiveseven_t "-1"

// Restrict/Unrestrict -1 unrestricts flashbang for ct
// -
// Default: "-1"
sm_restrict_flashbang_ct "-1"

// Restrict/Unrestrict -1 unrestricts flashbang for t
// -
// Default: "-1"
sm_restrict_flashbang_t "-1"

// Restrict/Unrestrict -1 unrestricts g3sg1 for ct
// -
// Default: "-1"
sm_restrict_g3sg1_ct "0"

// Restrict/Unrestrict -1 unrestricts g3sg1 for t
// -
// Default: "-1"
sm_restrict_g3sg1_t "0"

// Restrict/Unrestrict -1 unrestricts galil for ct
// -
// Default: "-1"
sm_restrict_galil_ct "-1"

// Restrict/Unrestrict -1 unrestricts galil for t
// -
// Default: "-1"
sm_restrict_galil_t "-1"

// Restrict/Unrestrict -1 unrestricts glock for ct
// -
// Default: "-1"
sm_restrict_glock_ct "-1"

// Restrict/Unrestrict -1 unrestricts glock for t
// -
// Default: "-1"
sm_restrict_glock_t "-1"

// Restrict/Unrestrict -1 unrestricts hegrenade for ct
// -
// Default: "-1"
sm_restrict_hegrenade_ct "-1"

// Restrict/Unrestrict -1 unrestricts hegrenade for ct
// -
// Default: "-1"
sm_restrict_hegrenade_t "-1"

// Restrict/Unrestrict -1 unrestricts m249 for ct
// -
// Default: "-1"
sm_restrict_m249_ct "-1"

// Restrict/Unrestrict -1 unrestricts m249 for t
// -
// Default: "-1"
sm_restrict_m249_t "-1"

// Restrict/Unrestrict -1 unrestricts m3 for ct
// -
// Default: "-1"
sm_restrict_m3_ct "-1"

// Restrict/Unrestrict -1 unrestricts m3 for t
// -
// Default: "-1"
sm_restrict_m3_t "-1"

// Restrict/Unrestrict -1 unrestricts m4a1 for ct
// -
// Default: "-1"
sm_restrict_m4a1_ct "-1"

// Restrict/Unrestrict -1 unrestricts m4a1 for t
// -
// Default: "-1"
sm_restrict_m4a1_t "-1"

// Restrict/Unrestrict -1 unrestricts mac10 for ct
// -
// Default: "-1"
sm_restrict_mac10_ct "-1"

// Restrict/Unrestrict -1 unrestricts mac10 for t
// -
// Default: "-1"
sm_restrict_mac10_t "-1"

// Restrict/Unrestrict -1 unrestricts mp5navy for ct
// -
// Default: "-1"
sm_restrict_mp5navy_ct "-1"

// Restrict/Unrestrict -1 unrestricts mp5navy for t
// -
// Default: "-1"
sm_restrict_mp5navy_t "-1"

// Restrict/Unrestrict -1 unrestricts nvgs for ct
// -
// Default: "-1"
sm_restrict_nvgs_ct "-1"

// Restrict/Unrestrict -1 unrestricts nvgs for t
// -
// Default: "-1"
sm_restrict_nvgs_t "-1"

// Restrict/Unrestrict -1 unrestricts p228 for ct
// -
// Default: "-1"
sm_restrict_p228_ct "-1"

// Restrict/Unrestrict -1 unrestricts p228 for t
// -
// Default: "-1"
sm_restrict_p228_t "-1"

// Restrict/Unrestrict -1 unrestricts p90 for ct
// -
// Default: "-1"
sm_restrict_p90_ct "-1"

// Restrict/Unrestrict -1 unrestricts p90 for t
// -
// Default: "-1"
sm_restrict_p90_t "-1"

// Restrict/Unrestrict -1 unrestricts scout for ct
// -
// Default: "-1"
sm_restrict_scout_ct "-1"

// Restrict/Unrestrict -1 unrestricts scout for t
// -
// Default: "-1"
sm_restrict_scout_t "-1"

// Restrict/Unrestrict -1 unrestricts sg550 for ct
// -
// Default: "-1"
sm_restrict_sg550_ct "0"

// Restrict/Unrestrict -1 unrestricts sg550 for t
// -
// Default: "-1"
sm_restrict_sg550_t "0"

// Restrict/Unrestrict -1 unrestricts sg552 for ct
// -
// Default: "-1"
sm_restrict_sg552_ct "-1"

// Restrict/Unrestrict -1 unrestricts sg552 for t
// -
// Default: "-1"
sm_restrict_sg552_t "-1"

// Restrict/Unrestrict -1 unrestricts smokegrenade for ct
// -
// Default: "-1"
sm_restrict_smokegrenade_ct "-1"

// Restrict/Unrestrict -1 unrestricts smokegrenade for t
// -
// Default: "-1"
sm_restrict_smokegrenade_t "-1"

// Restrict/Unrestrict -1 unrestricts tmp for ct
// -
// Default: "-1"
sm_restrict_tmp_ct "-1"

// Restrict/Unrestrict -1 unrestricts tmp for t
// -
// Default: "-1"
sm_restrict_tmp_t "-1"

// Restrict/Unrestrict -1 unrestricts ump45 for ct
// -
// Default: "-1"
sm_restrict_ump45_ct "-1"

// Restrict/Unrestrict -1 unrestricts ump45 for t
// -
// Default: "-1"
sm_restrict_ump45_t "-1"

// Restrict/Unrestrict -1 unrestricts usp for ct
// -
// Default: "-1"
sm_restrict_usp_ct "-1"

// Restrict/Unrestrict -1 unrestricts usp for t
// -
// Default: "-1"
sm_restrict_usp_t "-1"

// Restrict/Unrestrict -1 unrestricts vest for ct
// -
// Default: "-1"
sm_restrict_vest_ct "-1"

// Restrict/Unrestrict -1 unrestricts vest for t
// -
// Default: "-1"
sm_restrict_vest_t "-1"

// Restrict/Unrestrict -1 unrestricts vesthelm for ct
// -
// Default: "-1"
sm_restrict_vesthelm_ct "-1"

// Restrict/Unrestrict -1 unrestricts vesthelm for t
// -
// Default: "-1"
sm_restrict_vesthelm_t "-1"

// Restrict/Unrestrict -1 unrestricts xm1014 for ct
// -
// Default: "-1"
sm_restrict_xm1014_ct "-1"

// Restrict/Unrestrict -1 unrestricts xm1014 for t
// -
// Default: "-1"
sm_restrict_xm1014_t "-1"

// 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
// -
// Default: "0.5"
sm_warmup_respawn_time "0.5"

// How long in seconds warmup lasts
// -
// Default: "45"
sm_warmup_time "45"

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


Sorry to post on something that has potentially already been answered, but ive looked everywhere. Any help is appreciated!
ThatOneGuy is offline
Ezit
Junior Member
Join Date: Jul 2012
Old 07-23-2012 , 05:02   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1092

Why does it spam in chat?

It floods my chat if I spawn and it takes my gun it will flood the chat saying the weapon is restricted

is there a way to remove the gun from the game instead of drop it?
__________________
Ezit is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-23-2012 , 09:25   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1093

Quote:
Originally Posted by ThatOneGuy View Post
Ive tried looking all over in this thread, but cant find the fix. The plugin never loads, and i get this error:

L 07/23/2012 - 03:10:41: SourceMod error session started
L 07/23/2012 - 03:10:41: Info (map "cs_office") (file "errors_20120723.log")
L 07/23/2012 - 03:10:41: [SM] Fatal error encountered parsing translation file "plugin.smcash.txt"
L 07/23/2012 - 03:10:41: [SM] Error (line 0, column 0): Stream failed to open
L 07/23/2012 - 03:10:41: [SM] Unable to load plugin "weapon_restrict.smx": Required extension "sdkhooks" file("sdkhooks.ext") not running


Ive installed the latest sdkhooks and SM, but im getting this error. It seems sdkhooks isnt loading. I'm actually fixing a friends server, so im not sure what the cash thing is, but ill look into that later. Any help?

Basically, no matter what i do, it doesnt restrict weapons (i wanted to restrict all auto snipers, then 1 awp per team, or none if that doesnt work). Heres some of the configs:

Sorry to post on something that has potentially already been answered, but ive looked everywhere. Any help is appreciated!
You need sdkhooks installed. Type sm exts list in the server console or via rcon and see why it cant load it.

Quote:
Originally Posted by Ezit View Post
Why does it spam in chat?

It floods my chat if I spawn and it takes my gun it will flood the chat saying the weapon is restricted

is there a way to remove the gun from the game instead of drop it?
It doesn't spam chat as there is a cool down timer. It removes at certain times (round start) It wont remove it if some dies and drops it or they drop it.
Dr!fter is offline
thedarkkk
Junior Member
Join Date: Jul 2012
Old 07-23-2012 , 14:54   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1094

Hello, I get errors when I want to remove weapons
Code:
L 07/23/2012 - 20:36:30: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:36:30: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:36:30: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:36:30: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:36:30: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
L 07/23/2012 - 20:37:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:37:24: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:37:24: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:37:24: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:37:24: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
L 07/23/2012 - 20:39:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:39:24: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:39:24: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:39:24: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:39:24: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
my plugins : http://pastebin.com/JfmVMBhW
extensions : http://pastebin.com/jxsNFnE8

thank you
thedarkkk is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-23-2012 , 14:56   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1095

Quote:
Originally Posted by thedarkkk View Post
Hello, I get errors when I want to remove weapons
Code:
L 07/23/2012 - 20:36:30: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:36:30: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:36:30: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:36:30: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:36:30: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
L 07/23/2012 - 20:37:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:37:24: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:37:24: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:37:24: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:37:24: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
L 07/23/2012 - 20:39:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/23/2012 - 20:39:24: [SM] Native "Format" reported: Language phrase "AmountMenuTitle" not found
L 07/23/2012 - 20:39:24: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 07/23/2012 - 20:39:24: [SM]   [0]  Line 215, restrictinc/adminmenu.sp::DisplayAmountMenu()
L 07/23/2012 - 20:39:24: [SM]   [1]  Line 192, restrictinc/adminmenu.sp::Handle_WeaponMenu()
my plugins : http://pastebin.com/JfmVMBhW
extensions : http://pastebin.com/jxsNFnE8

thank you
You're missing the translations file.
Dr!fter is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 07-23-2012 , 23:34   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1096

Quote:
Originally Posted by Dr!fter View Post
You need sdkhooks installed. Type sm exts list in the server console or via rcon and see why it cant load it.
Extensions:
"Automatic Updater" (1.4.4) by AlliedModders LLC: Updates SourceMod gamedata files
"Webternet" (1.4.4) by AlliedModders LLC: Extension for interacting with URLs
"CS:S Tools" (1.4.4) by AlliedModders LLC: CS:S extended functionality
"BinTools" (1.4.4) by AlliedModders LLC: Low-level C/C++ Calling API
"SDK Tools" (1.4.4) by AlliedModders LLC: Source SDK Tools
"Top Menus" (1.4.4) by AlliedModders: Creates sorted nested menus
"Client Preferences" (1.4.4) by AlliedModders: Saves client preference settings
"SQLite" (1.4.4) by AlliedModders LLC: SQLite Driver
"GeoIP" (1.4.4) by AlliedModders LLC: Geographical IP information


Pugins:
"Basic Comm Control" (1.4.5-dev) by AlliedModders LLC
"Sound Commands" (1.4.5-dev) by AlliedModders LLC
"SM Super Menu" (0.5) by pRED*
"Client Preferences" (1.4.5-dev) by AlliedModders LLC
"Basic Info Triggers" (1.4.5-dev) by AlliedModders LLC
"Anti-Flood" (1.4.5-dev) by AlliedModders LLC
"Basic Ban Commands" (1.4.5-dev) by AlliedModders LLC
"Admin Menu" (1.4.5-dev) by AlliedModders LLC
"Basic Chat" (1.4.5-dev) by AlliedModders LLC
"Admin File Reader" (1.4.5-dev) by AlliedModders LLC


using sm_rcon sm exts list (handy little command...thanks!):
<FAILED> file "sdkhooks.ext.so": /usr/local/games/css/930962/68.232.183.183:27015/css/cstrike/addons/sourcemod/extensions/sdkhooks.ext.so: cannot open shared object file: No such file or directory

as far as sdkhooks, i have the following files from the most recent updates:
sdkhooks.ext.1.ep1.dll
sdkhooks.ext.2.bgt.dll
sdkhooks.ext.2.csgo.dll
sdkhooks.ext.2.darkm.dll
sdkhooks.ext.2.ep2.dll
sdkhooks.ext.2.ep2v.dll
sdkhooks.ext.2.l4d.dll
sdkhooks.ext.2.l4d2.dll
sdkhooks.ext.2.swarm.dll

i have installed sdkhooks 2.2.0 dev193 from here http://users.alliedmods.net/~psychon.../sdkhooks/2.2/ ...Not sure why sdkhooks wont load : / and why the recent versions dont have sdkhooks.ext.so (do i find that file download elsewhere...ill go search more)

P.S. I'm running SM 1.4.4

Last edited by ThatOneGuy; 07-23-2012 at 23:51.
ThatOneGuy is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-24-2012 , 09:38   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1097

Quote:
Originally Posted by ThatOneGuy View Post
Extensions:
"Automatic Updater" (1.4.4) by AlliedModders LLC: Updates SourceMod gamedata files
"Webternet" (1.4.4) by AlliedModders LLC: Extension for interacting with URLs
"CS:S Tools" (1.4.4) by AlliedModders LLC: CS:S extended functionality
"BinTools" (1.4.4) by AlliedModders LLC: Low-level C/C++ Calling API
"SDK Tools" (1.4.4) by AlliedModders LLC: Source SDK Tools
"Top Menus" (1.4.4) by AlliedModders: Creates sorted nested menus
"Client Preferences" (1.4.4) by AlliedModders: Saves client preference settings
"SQLite" (1.4.4) by AlliedModders LLC: SQLite Driver
"GeoIP" (1.4.4) by AlliedModders LLC: Geographical IP information


Pugins:
"Basic Comm Control" (1.4.5-dev) by AlliedModders LLC
"Sound Commands" (1.4.5-dev) by AlliedModders LLC
"SM Super Menu" (0.5) by pRED*
"Client Preferences" (1.4.5-dev) by AlliedModders LLC
"Basic Info Triggers" (1.4.5-dev) by AlliedModders LLC
"Anti-Flood" (1.4.5-dev) by AlliedModders LLC
"Basic Ban Commands" (1.4.5-dev) by AlliedModders LLC
"Admin Menu" (1.4.5-dev) by AlliedModders LLC
"Basic Chat" (1.4.5-dev) by AlliedModders LLC
"Admin File Reader" (1.4.5-dev) by AlliedModders LLC


using sm_rcon sm exts list (handy little command...thanks!):
<FAILED> file "sdkhooks.ext.so": /usr/local/games/css/930962/68.232.183.183:27015/css/cstrike/addons/sourcemod/extensions/sdkhooks.ext.so: cannot open shared object file: No such file or directory

as far as sdkhooks, i have the following files from the most recent updates:
sdkhooks.ext.1.ep1.dll
sdkhooks.ext.2.bgt.dll
sdkhooks.ext.2.csgo.dll
sdkhooks.ext.2.darkm.dll
sdkhooks.ext.2.ep2.dll
sdkhooks.ext.2.ep2v.dll
sdkhooks.ext.2.l4d.dll
sdkhooks.ext.2.l4d2.dll
sdkhooks.ext.2.swarm.dll

i have installed sdkhooks 2.2.0 dev193 from here http://users.alliedmods.net/~psychon.../sdkhooks/2.2/ ...Not sure why sdkhooks wont load : / and why the recent versions dont have sdkhooks.ext.so (do i find that file download elsewhere...ill go search more)

P.S. I'm running SM 1.4.4
You installed the windows version and need to install the linux version.
Dr!fter is offline
thedarkkk
Junior Member
Join Date: Jul 2012
Old 07-24-2012 , 10:01   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1098

Quote:
Originally Posted by Dr!fter View Post
You're missing the translations file.
Thank you, it works well
thedarkkk is offline
Tribl
Junior Member
Join Date: Jul 2012
Old 07-26-2012 , 03:59   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1099

Quote:
Originally Posted by Bacardi View Post
Don't give them access to use these all admin commands (or part of them):
sm_restrict
sm_unrestrict
sm_knives
sm_pistols
sm_dropc4
sm_reload_restrictions
sm_remove_restricted

Commands are flagged to "h" (cvar) expect sm_dropc4 is "d" (ban).

hi
my Admins dont have the h flag but they have dropc4 and knife round in their menu, how do i get rid of the knife round?

secondly i got
awp
hegrenade
knife

in my warmup.cfg but the players only get a knife

3. is it possible to get rid of the whole admin menu part of the plugin and only add i.e. sm_dropc4 to one of the existing categories via adminmenu_custom.txt? and if so, how?

thanks in advance
Tribl is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-26-2012 , 13:53   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1100

Quote:
Originally Posted by Tribl View Post
hi
my Admins dont have the h flag but they have dropc4 and knife round in their menu, how do i get rid of the knife round?

secondly i got
awp
hegrenade
knife

in my warmup.cfg but the players only get a knife

3. is it possible to get rid of the whole admin menu part of the plugin and only add i.e. sm_dropc4 to one of the existing categories via adminmenu_custom.txt? and if so, how?

thanks in advance
Use the override system to override the sm_knives and sm_pistols. But by default it uses the same flag as restrict and unrestrict so it shouldnt show up.

It randomly picks one weapon each warmup so it doesnt give them all.

Yes remove #define STOCKMENU from weapon_restrict.sp and compile it again.

Last edited by Dr!fter; 07-26-2012 at 13:54.
Dr!fter 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:15.


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