Thread: UserRestrict
View Single Post
Author Message
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-20-2007 , 18:54   UserRestrict
Reply With Quote #1

This plugin is no longer being developed!

UserRestrict is an administration plugin that allows admins to restrict certain players from using certain weapons. To be able to use this, you must be a generic admin ('b' flag).

Flags:
  • #t
    • The terrorist team.
  • #ct
    • The Counter Terrorist team
  • #bot
    • The bots
  • #all
    • Everyone
Commands:
  • user_restrict
    • Usage: user_restrict <User ID> <weapon>
    • Example: user_restrict 2 ak47
    • Note: Executing "user_restrict" with no arguments brings up the UserRestrict menu
  • user_unrestrict
    • Usage: user_unrestrict <Steam ID> <weapon>
    • Example: user_unrestrict STEAM_ID_LAN ak47
  • Note: You can substitute team flags for the User ID or Steam ID. For example, instead of STEAM_ID_LAN, you can use #t.
ConVars:
  • user_restrict_version
    • The current version of UserRestrict. This is read-only and is setup for HLSW and other 3rd party applications.
Installation:
  • From .zip or .rar
    • Extract contents to your cstrike/ directory
  • From .smx and .cfg
    • Download UserRestrict.smx by using the "Get Plugin" link below and download UserRestrict.cfg by clicking on that link below. Place UserRestrict.smx in your addons/sourcemod/plugins folder and put UserRestrict.cfg in your addons/sourcemod/configs directory.
Changelog:
  • 1.0.0
    • Initial Release
  • 1.1.0
    • Added team flags (#t, #ct, #bot, #all).

Thanks so much to devicenull, teame06, FlyingMongoose, PimpinJuice...Pretty much all the active users in #sourcemod.
Attached Files
File Type: zip UserRestrict.zip (11.5 KB, 3013 views)
File Type: sp Get Plugin or Get Source (UserRestrict.sp - 3723 views - 12.1 KB)
File Type: rar UserRestrict.rar (10.6 KB, 1992 views)
File Type: cfg userrestrict.cfg (290 Bytes, 2072 views)
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.

Last edited by theY4Kman; 08-26-2007 at 14:32. Reason: Unrestrict menu worked, it was a user error
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman