cs:go, tf2 server sourcemod plugins
Allows admins (or all players) to hook on to walls, grab other players, or swing on a rope.
Example usage: bind q +hook
Commands and Cvars
Commands +hook Shoot a hook and glide toward where it lands +grab Grab a player or object and move it around +rope Attach a rope and swing on it +push Shoot a hook and push away from it
Commands hook_toggle Toggles hook on/off grab_toggle Toggles grab on/off rope_toggle Toggles rope on/off push_toggle Toggles push on/off
Admin Commands (ADMFLAG_GENERIC)
sm_hgr_givehook <@all/@ct/@t/partial name> Gives hook access to a player or group of players. sm_hgr_takehook <@all/@ct/@t/partial name> Removes hook access from a player or group of players. sm_hgr_givegrab <@all/@ct/@t/partial name> Gives grab access to a player or group of players. sm_hgr_takegrab <@all/@ct/@t/partial name> Removes grab access from a player or group of players. sm_hgr_giverope <@all/@ct/@t/partial name> Gives rope access to a player or group of players. sm_hgr_takerope <@all/@ct/@t/partial name> Removes rope access from a player or group of players.
Cvars sm_hgr_version Plugin version. sm_hgr_announce (Default 1) Announce plugin availability to players (1 – enable, 0 – disable) sm_hgr_sound_amplify (Default 3) Control sound effect volume (0 – no sound, 1 – quiet, 5 – loud) sm_hgr_overridemode (Default 0) If enabled, only players who have manually been given access can use plugin (1 – enable, 0 – disable) sm_hgr_upbutton (Default IN_JUMP) Button to use for ascending ropes, pushing grab targets, and hooking forward sm_hgr_downbutton (Default IN_DUCK) Button to use for descending ropes, pulling grab targets, and hooking backward sm_hgr_hook_enable (Default 1) Enable or disable hook feature (1 – enable, 0 – disable) sm_hgr_hook_adminonly (Default 1) Restrict hook to admins (1 – admin only, 0 – everyone) sm_hgr_hook_freeze_enable (Default 0) Allow players to use hook during freezetime (1 – allow, 0 – disallow) sm_hgr_hook_slide_enable (Default 1) Allow players to reverse hook direction (1 – allow, 0 – disallow) sm_hgr_hook_speed (Default 5.0) The speed of the hook. sm_hgr_hook_initwidth (Default 5.0) The starting width of the hook beam. sm_hgr_hook_endwidth (Default 5.0) The ending width of the hook beam. sm_hgr_hook_amplitude (Default 0.0) The amplitude of the hook beam. sm_hgr_hook_color (Default 2) The color of the hook (0 – white, 1 – teamcolor, 2 – custom, 3 – reverse teamcolor) sm_hgr_hook_red (Default 255) The red component of the beam (if you are using a custom color) sm_hgr_hook_green (Default 0) The green component of the beam (if you are using a custom color) sm_hgr_hook_blue (Default 0) The blue component of the beam (if you are using a custom color) sm_hgr_hook_alpha (Default 255) The alpha component of the beam (if you are using a custom color) sm_hgr_hook_sound (Default “hgr/hookhit.mp3”) Location of hook sound effect relative to /sound/music/ sm_hgr_grab_enable (Default 1) Enable or disable grab feature (1 – enable, 0 – disable) sm_hgr_grab_adminonly (Default 1) Restrict grab to admins (1 – admin only, 0 – everyone) sm_hgr_grab_freeze_enable (Default 0) Allow players to use grab during freezetime (1 – allow, 0 – disallow) sm_hgr_grab_slide_enable (Default 1) Allow players to push or pull grab targets (1 – allow, 0 – disallow) sm_hgr_grab_speed (Default 5.0) The speed of the grab. sm_hgr_grab_initwidth (Default 1.0) The starting width of the grab beam. sm_hgr_grab_endwidth (Default 10.0) The ending width of the grab beam. sm_hgr_grab_amplitude (Default 0.0) The amplitude of the grab beam. sm_hgr_grab_color (Default 2) The color of the grab (0 – white, 1 – teamcolor, 2 – custom, 3 – reverse teamcolor) sm_hgr_grab_red (Default 0) The red component of the beam (if you are using a custom color) sm_hgr_grab_green (Default 0) The green component of the beam (if you are using a custom color) sm_hgr_grab_blue (Default 255) The blue component of the beam (if you are using a custom color) sm_hgr_grab_alpha (Default 255) The alpha component of the beam (if you are using a custom color) sm_hgr_grab_sound (Default “hgr/hookhit.mp3”) Location of grab sound effect relative to /sound/music/ sm_hgr_rope_enable (Default 1) Enable or disable rope feature (1 – enable, 0 – disable) sm_hgr_rope_oldmode (Default 0) Use old rope mode (1 – Use old mode, 0 – Don’t use old mode [recommended]) sm_hgr_rope_adminonly (Default 1) Restrict rope to admins (1 – admin only, 0 – everyone) sm_hgr_rope_freeze_enable (Default 0) Allow players to use rope during freezetime (1 – allow, 0 – disallow) sm_hgr_rope_slide_enable (Default 1) Allow players to ascend and descend rope (1 – allow, 0 – disallow) sm_hgr_rope_speed (Default 5) The speed of the rope sm_hgr_rope_initwidth (Default 3.0) The starting width of the rope beam. sm_hgr_rope_endwidth (Default 3.0) The ending width of the rope beam. sm_hgr_rope_amplitude (Default 0.0) The amplitude of the rope beam. sm_hgr_rope_color (Default 2) The color of the rope (0 – white, 1 – teamcolor, 2 – custom, 3 – reverse teamcolor) sm_hgr_rope_red (Default 0) The red component of the beam (if you are using a custom color) sm_hgr_rope_green (Default 255) The green component of the beam (if you are using a custom color) sm_hgr_rope_blue (Default 0) The blue component of the beam (if you are using a custom color) sm_hgr_rope_alpha (Default 255) The alpha component of the beam (if you are using a custom color) sm_hgr_rope_sound (Default “hgr/hookhit.mp3”) Location of rope sound effect relative to /sound/music/
Notes —————————————————-
Example admin_overrides.cfg:
Overrides { "+grab" "z" "+rope" "cef" }
In this example, only admins with the “z” flag can use grab, and only admins with all three “cef” flags can use rope. Since hook is not listed, any admin with ADMFLAG_GENERIC (“b”) flag can use hook.
[button url=”https://yadi.sk/d/wbRbpISB32oGMi”]Download[/button]
this plugin is working very good
Your email address will not be published. Required fields are marked *
− one =
This site uses Akismet to reduce spam. Learn how your comment data is processed.