Raised This Month: $ Target: $400
 0% 

TS Weapon restrictions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   SniperBeamer (61)
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-14-2004 , 16:21   TS Weapon restrictions
Reply With Quote #1

This plugin is used to restrict access to certain weapons in TS, you can restric access to any weapon. You can also restrict diffrent firing modes on weapons it works by checking once a weapon is equipped check if that weapon is restricted by a admin, if it is. The weapon is removed from the user and deleted from the word. The user is also given a warring
It will also log any offenders while notifying the other players

Usage:
Edit the addons/amxmodx/configs/ts_restriction.cfg
Add the weapons you want to restrict here

Or use the amx_restrict command:
amx_restrict 1 2 will restrict the glock 18 from being used in full auto
amx_restrict 1 1 will restrict the glock 18
amx_restrict 1 0 will remove the restriction

Credits:
Ops in #AMXmodx @ Quakenet for alot of help ( + AssKicker & CheesyPeteza )

This plugin requires the ENGINE module

Changelog
  • 1.2.2 ( 19.11.2004 )
    - Fixed: Exploit preventing droping of weapon
    - Fixed: Plugin should handle multiple knifes better
    - Fixed: logs not being writen correctly or not at all
    - Added: You will no longer be spammed with messages if you have muliple guns that are restriced
    - Changed: remove_weapon() has been optimized some more( it now gets ents by owner first)
    - Changed: The welcome message is not shown if there is no weapoons restricted or firemods restriced
Todo:
  • Add menus
If you cant make the plugin work read this
Attached Files
File Type: sma Get Plugin or Get Source (ts_weaponrestric.sma - 4637 views - 12.2 KB)
File Type: zip ts_restriction.zip (643 Bytes, 2666 views)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.

Last edited by EKS; 06-26-2006 at 10:18.
EKS is offline
 



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 09:41.


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