Remove Weapons
Description:
This is my first plugin ever, so please bear with it, lol. I originally made this for my server and decided later that i should probably share it. My server runs a no spawn camping rule, and people tend to want to break it, i used to kick these players, but now instead i just remove (lock) their weapons until they use a weapon locker to get them back. I also added the command to the admin menu for any admin with the Kick flag.
ConVars/Commands:
- sm_rweapons: Remove/Lock a players weapons until they visit a weapon locker.
- sm_rweapons_show: Toggles the ingame messages for this plugin on and off (0 = off, 1 = on)
Changelog:
- Version 1.3 ( 7/19/09 )
- Added "sm_rweapons_show" to allow the messages to be toggled on and off.
- Added in AutoExecConfig to create a config file for the plugin so a default can be set. To configure go to tf->cfg->sourcemod->rweapons.cfg
- Version 1.2 ( 7/18/09 )
- Added support for the @all/@blue/@red/@bots commands
- Version 1.1 ( 7/17/09 )
- Fixed the admin menu, i accidently had it set for the ban flag instead of the kick flag.
- Version 1.0 ( 7/15/09 )
Notes:
This is my first plugin, i know its pretty basic