View Single Post
Author Message
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 06-28-2008 , 21:35   [DoDS] Drop Weapon
Reply With Quote #1

Is taken from the Realism Mod in response to this:
http://forums.alliedmods.net/showthr...173#post645173

CVARS
  • sm_dod_dropweapon <0|1>
turns the plugin on or off

  • sm_dod_dropweapon_message "You got shot in the arm - pick up your weapon"
message to display to clients if they drop their weapon
  • sm_dod_dropweapon_headshot_message "made a headshot"
message to send to client if headshot has been made

  • sm_dod_dropweapon_showmessages <0|1|2>
if 0, all messages are disabled
if 1, message sent to all players (headshot only)
if 2, message sent to attacker (headshot only)


Installation
  • Copy sm_dod_dropweapon.smx to addons/sourcemod/plugins
Changelog
Version 1.0.100
SourceMod release.

Version 1.0.101
Added cvar to remove messages


Notes
Has been tested in DoDS.
Attached Files
File Type: sp Get Plugin or Get Source (sm_dod_dropweapon.sp - 3069 views - 3.4 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org

Last edited by strontiumdog; 03-24-2009 at 21:29.
strontiumdog is offline