Quote:
Originally Posted by Sille
Hey.
I'm running this weapon restriction together with this "winning team restriction": http://forums.alliedmods.net/showthread.php?p=542780
It works fine except some miner bugs and that the plugin restrict players to pickup restricted weapons if the are in winning team. I want them to be able to do that.
Is is possible to make something like sm_allow_pickup 0|1 to this weapon restriction plugin? I would really like to have that.
Due to the pickup restriction following happens on my server: - Players in the winning team that try to pickup restricted weapons today lose all there ammo in the pistol.
- If someone in the same team picks up a restricted weapon, one of the one on the team that have one lose it so there still are the same amount of weapons in the team.
|
I don't support that plugin that red posted and when used alone, weapon restrictions performs as operated. I will add a feature request to my list of stuff to do for the future and see about incorporating another cvar, but at this time I'm not going to add in one thing.
Quote:
Originally Posted by HolyKnight
Our WCS Server recently moved from Mani to SM with the hopes for better support. We have used this plug-in to restrict the AWP and both Auto-Snipes (AS). We have a couple races that are built around the ability to utilize either the AWP or AS. From what I've read so far it doesn't appear that we have addressed scripting the sm_unrestrict command within the confines of a WCS race. If you have the time, please take a look at this patch of code and offer a few suggestions.
*****Attached Code*****
"name" "Shadow Shock"
"author" "HOLLIDAY"
"shortdescription" "Shadow Shock,Reflect,Fading Cloak of Shadows,AWP!"
"required_level" "140"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "1"
"preloadcmd" "0"
"player_spawn_cmd" "es est_playplayer event_var(userid) plats\hall_elev_stop.wav;es es_delayed 1.6 est_playplayer event_var(userid) weapons\explode3.wav;es es_xdelayed 1.8 est_unrestrict event_var(userid) weapon_awp"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "4"
"skillnames" "Shadow Shock|Reflect|Fading Cloak of Shadows|AWP!"
"skilldescr" "Shock Enemy|Shock attacker|Invisibility that fades in and out|Switch from primary Weapon to AWP!"
"skillcfg" "player_attacker|player_victim|player_spawn|p layer_ultimate"
As you can see, in the red text, we are utilizing an EST cmd to unrestrict the weapon. The pertinent mods and plug-ins that we are using are as follows:
CS:S, WCS(WarCraft Mod) .75
SourceMod Version: 1.1.0-dev Moving to 1.10 production
Metamod:Source version 1.7.0
EventScripts v1.5.0.171
EST .418d
Thanks in advance for your time. I am by no means a true code monkey thus the issue. I have a CompSci degree but I am an Operations Manager for the Air Force in practice. Take care.
|
You cannot unrestrict guns per client unfortunately, and it is based solely off of teams. I will look at how difficult this is, but in all honesty, I am fearful of bloating this plugin more with how many extra arrays this will take.
__________________