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

[CS:S] Sniper Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
FreeFall
Junior Member
Join Date: Mar 2011
Old 11-08-2011 , 10:11   Re: [CS:S] Sniper Restrict
Reply With Quote #21

Sorry but i cant speak engish.

after the last update its the plugin not working. The massage and sound is ok but the player can use the AWP.

What i must do?
FreeFall is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-08-2011 , 10:20   Re: [CS:S] Sniper Restrict
Reply With Quote #22

Are you using Sourcemod 1.4?

Try updating your gamedata with the attached file. If it fixes your problem, I will update the first post. The attached gamedata was obtained from the Weapon Restrict thread.
Attached Files
File Type: txt weapon_restrict.games.txt (1.5 KB, 131 views)
TnTSCS is offline
FreeFall
Junior Member
Join Date: Mar 2011
Old 11-08-2011 , 11:02   Re: [CS:S] Sniper Restrict
Reply With Quote #23

Thank you and in which directory should the file?

ok I'm in the file:

/ Counter-Strike_Source/css/cstrike/addons/sourcemod/gamedata

inserted, but it is unfortunately not yet. Or else, the pure?

Last edited by FreeFall; 11-08-2011 at 11:25.
FreeFall is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-08-2011 , 14:13   Re: [CS:S] Sniper Restrict
Reply With Quote #24

I'm working on an update using the new SM 1.4 features for weapon drop... I'll get it posted as soon as I can.

It's hard to write the code and test the plugin while at work
TnTSCS is offline
FreeFall
Junior Member
Join Date: Mar 2011
Old 11-08-2011 , 16:03   Re: [CS:S] Sniper Restrict
Reply With Quote #25

Do not stress

I think it's great that you already because you take care as good drum. Take the good work.
FreeFall is offline
FreeFall
Junior Member
Join Date: Mar 2011
Old 11-09-2011 , 16:01   Re: [CS:S] Sniper Restrict
Reply With Quote #26

Hello

Is there something new? Can I help?
FreeFall is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-09-2011 , 19:14   Re: [CS:S] Sniper Restrict
Reply With Quote #27

I'm out of town on business - I'll try to work on this on Friday when I'm off work.
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-11-2011 , 22:02   Re: [CS:S] Sniper Restrict
Reply With Quote #28

Updated the OP with the latest version. It's probably best to delete your config file and let the plugin create a new one since I added a new CVar and removed an unused one.

Version 1.5.5
I've skipped a few version just because I haven't been releasing some of the changes I've been making. I wanted to make sure they were all done before I released a new version.

- Updated method of dropping weapons to use CS_DropWeapon (hence the requirement for Sourcemod 1.4). This hopefully fixes the weapon drop issues for CSSDM
- Started using the CS_OnBuyCommand to handle the weapon purchasing for restricted weapons
- Changed from hooking item_pickup to using SDKHook_WeaponCanUse (SDKHooks is now required)
- Removed CVar DestroyPickedUpWeapon since SDKHooks will not allow a player to pickup a restricted weapon
- Added functionality to maintain the sniper restriction for players for the entire map even if the player disconnects and reconnects. The new cvar is sm_SniperRestrict_MaintainRestrictions

Get new version HERE
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-12-2011 , 15:50   Re: [CS:S] Sniper Restrict
Reply With Quote #29

If you have 1.5.5 and Updater, then the plugin will auto update itself - otherwise, get it HERE

Version 1.5.6
Now works with CS:S DM
- Enhanced plugin to give replacement weapon on respawns if running CSS:DM and player tries to get restricted weapon

Last edited by TnTSCS; 11-12-2011 at 15:51.
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-13-2011 , 10:58   Re: [CS:S] Sniper Restrict
Reply With Quote #30

Version 1.5.7
- Fixed [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)

-----------------------------------------------------

If you have 1.5.5 (or newer) and Updater, then the plugin already updated itself (or will soon). If you do not have Updater, manually download the updated version on Post #1 HERE
TnTSCS 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 22:33.


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