Plugin Info:
|
Modification:
Category:
Approver: Zenith77 (33)
|
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
|
11-16-2007
, 14:52
Hook
|
#1
|
Hook.I dont think that I need to explain what this plugin does but it simply moves you to a point you're aiming at.
Requirements:
AMX Mod X 1.8
fakemeta
Commands/bindings:
+hook
amx_givehook
amx_takehook
Cvars:
sv_hook - Turns hook on or off (default: 1)
sv_hookthrowspeed - Throw speed (default: 1000)
sv_hookspeed - Speed to hook (default: 300)
sv_hookwidth - Width of the hook (default: 32)
sv_hooksound - Sounds of the hook on or off (default: 1)
sv_hookcolor - The color of the hook 0 is white and 1 is team color (default: 1)
sv_hookplayers - If set 1 you can hook on players (default: 0)
sv_hookinterrupt - Remove the hook when something comes in its line (default: 0)
sv_hookadminonly - Hook for admin only (default: 0)
sv_hooksky - If set 1 you can hook in the sky (default: 0)
sv_hookopendoors - If set 1 you can open doors with the hook (default: 1)
sv_hookbuttons - If set 1 you can use buttons with the hook (default: 0)
sv_hookpickweapons - If set 1 you can pickup weapons with the hook (default: 1)
sv_hookhostfollow - If set 1 you can make hostages follow you (default 1)
sv_hookinstant - Hook doesnt throw (default: 0)
sv_hooknoise - adds some noise to the hook line (default: 0)
sv_hookmax - Maximun numbers of hooks a player can use in 1 round
- 0 for infinitive hooks (default: 0)
sv_hookdelay - delay on the start of each round before a player can hook
- 0.0 for no delay (default: 0.0)
Changelog:
Code:
1.0: Release
1.5: added cvars:
sv_hooknoise
sv_hookmax
sv_hookdelay
public cvar
added commands:
amx_givehook <username>
amx_takehook <username>
I only tested this in counter-strike but if you comment out the cstrike include and compile it, it should work for other mods too.
HF P34nut
__________________
All you need to change the world is one good lie and a river of blood
Last edited by P34nut; 02-03-2008 at 05:46.
Reason: added .amxx file (requested)
|
|
|
|