Description
This plugin allows admins to feel themselves like Dr.Hax from Garry's Mod Idiot Box.
You just need to type !hax in chat or sm_hax in console to throw monitor and hear legendary voice of Dr.Hax
CVars
Code:
// This file was auto-generated by SourceMod (v1.4.0)
// ConVars for plugin "dr_hax.smx"
// Distance from object's creator to a spawned object.
// -
// Default: "40.0"
drhax_distance_from_spawner "40.0"
// Enable the plugin
// -
// Default: "1"
drhax_enabled "1"
// Delay before entity will be destroyed by entity dissolver
// -
// Default: "3.5"
drhax_entity_destroy_delay "3.5"
// Do you want to let users set monitor's weight?
// -
// Default: "1"
drhax_let_users_set_weight "1"
// Default weight of monitor.
// -
// Default: "1000.0"
drhax_monitor_weight "1000.0"
// Path to the sound.
// -
// Default: "res/drhax/Hax.mp3"
drhax_music_path "res/drhax/Hax.mp3"
// Only admins can throw monitors. Disable it at your own risk :)
// -
// Default: "1"
drhax_only_admins "1"
// Force of throwing the monitor ( More = better ).
// -
// Default: "100000.0"
drhax_throwing_force "100000.0"
How to throw monitor with special weight
Code:
sm_hax <weight> in console or !hax <weight> in chat
Vido demonstration
http://www.youtube.com/watch?v=WHTy4kDb2NM
PS. Monitor will kill players and could kill admins but I didn't did it in the video cuz I'm very right admin
Updated to a version 1.1:
Code:
Removed dependence from cstrike and sdkhooks includes, increased weight of monitor for making easy kills.
Updated to a version 1.2:
Code:
Added some convars for making it more configurable.
Updated to a version 1.3:
Code:
Now it supports TF2.
Added CVar drhax_enable_teamkill <1|0>