Raised This Month: $12 Target: $400
 3% 

Meta HookMod Admin Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-01-2005 , 18:09   Meta HookMod Admin Commands
Reply With Quote #1

This is the final version with menu, vote, + more commands

I cleaned up my code a lot but if anyone gets any bugs let me know and ill go and fix them

/* * * * * * * * * * * * * * *
* Amx Mod X
* Meta HookMod Admin Commands
*
* Plugin is used to change values of the meta hook mod.
*
*******************************************
* Created by: $uicid3 V1.4
*
* V1.0 - first creation. only had hook_on
* V1.1 - added a few more commands
* v1.2 - added password and speed
* v1.3 - updated hook_all to incorporate sky and ground separatly. Became hook_surface
* v1.4 - added more commands, a menu control, a vote with a cvar to allow/restrict voting
* and default variables for you to change
*
*
*
* This file is provided as is (no warranties).
*
* This file is free software and you can redistribute and/or modify it
* in any way you see fit. I take no responsibility for this file in any
* way. Use at your own risk. No warranties of any kind.
*
********************************************
*
* Commands:
* hook_on : <1|0> or <on|off>: Turn hook on/off
* hook_pass : Set password on hook: set to 0 to turn off
* hook_instant : <1|0> or <on|off>: Turn instant hooking on/off
* hook_surface : <0|1|2|3> : 0 for only walls: 1 for ground: 2 for sky: 3 for both
* hook_sound : <1|0> or <on|off>: Turn sound on/off
* hook_speed : Sets speed which you reel in (value greater than 0)
* hook_people : <1|0> or <on|off>: Turn hooking people on/off
* hook_delay : Sets time to wait before you can shoot another hook(value greater than 0)
* hook_color : <1|0> or <on|off>: Turn color on/off
* hook_size : sets size of hook(greater than 0)
* hook_menu : Opens main command menu
*
* Say /hookmenu :Opens main command menu
* Say hookmenu
*
*
* Cvars:
* hook_enablevote : <1|0> : 1 to allow voting: 0 to disable voting
*
*
*
********************************************* ********/
Attached Files
File Type: sma Get Plugin or Get Source (admin_metahook.sma - 1984 views - 25.3 KB)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-01-2005 , 18:23  
Reply With Quote #2

Im going to add a menu to this later but i have the commands for now
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 04-01-2005 , 19:58  
Reply With Quote #3

the ground and air thing I don't like what if you want ground and walls but not air
__________________
- Bye bye!
nightscreem is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-01-2005 , 20:32  
Reply With Quote #4

You can always change the stuff manually :-p. lol ill make it two commands. and reupload.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-05-2005 , 20:02  
Reply With Quote #5

Final version completed.

I give credit to this forum... cuz it helped me with my menus i cant name anyone specific cuz i just went through and looked at people who asked for help with their menus and i didnt note the people who helped them.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 04-06-2005 , 13:36  
Reply With Quote #6

do you need the meta hook mod plugin also?
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-06-2005 , 13:55  
Reply With Quote #7

Yes you can get it here for Windows or Linux

Its not an AMX Mod X plugin its a MetaMod Plugin ... hence the Meta Hookmod
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-06-2005 , 20:00  
Reply With Quote #8

Ok for the people who have downloaded this... you need to download again if you want to be able to use hook_people cuz i just fixed that bug. I caught it once i had people in my server to test it on.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 04-07-2005 , 07:10  
Reply With Quote #9

when we turn hook on. it says in hud, hookmod off. everytime you press it
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-07-2005 , 09:55  
Reply With Quote #10

That means hook is turned off. Do you have hook mod?

If you do then make sure you use 1 for on and 0 for off
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode