Raised This Month: $ Target: $400
 0% 

hookmenu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 03-18-2005 , 16:37   hookmenu
Reply With Quote #1

this is a plugin for hookmenu you can use it when you type amx_hookmenu in console and you will see a hookmenu
with all commands I only added 1 to see if it works but it doesn't so
plz help
Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("Hook Menu","1.0","[iwek]Nightscream")     register_concmd("amx_hook_on","cmdhook_on",ADMIN_MENU,"turns hookmod on and off")     register_menucmd(register_menuid("\yHookMenu"), 1023, "actionHookmenu")         return PLUGIN_CONTINUE } /*-------------------------------------Hook on--------------------------------------------------*/ public Hook_on() {     server_cmd("DF_hook_on") } /*-------------------------------------Main Menu------------------------------------------------*/ public actionHookmenu(id, key) {     switch(key) {         case 0: {             client_cmd(id, "amx_hookmenu")         }         case 2: {             client_cmd(id, "amx_hookmenu")             log_amx("[Hookmenu] ^"%s<%d><%s><>^" Turns Hook mod on and off", name, get_user_userid(id), authid)         }     }     return PLUGIN_HANDLED } public showHookmenu(id, level, cid) {     if (!cmd_access(id, level, cid, 1))     return PLUGIN_HANDLED     new menu[256]     format(menu, 255, "\yHookMenu^n^n\w1. turns hook on and off^n\w0. Exit")     show_menu(id, ((1<<0)|(1<<1)), menu)         return PLUGIN_HANDLED }
__________________
- Bye bye!
nightscreem is offline
 



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 14:05.


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