Raised This Month: $ Target: $400
 0% 

Hook Menu help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 04-12-2005 , 13:08  
Reply With Quote #7

omg, I just realized what you are doing, you are trying to call secondary menus from a primary menu right?

Well, the way you are going about it, is by having the plugin run another menu command for the player, but you are doing it wrong..

Example of what you are doing:
Code:
// you registered: register_clcmd("amx_hookonmenu","CmdHookOnMenu",ADMIN_MENU,"- Displays the hook on and off menu") // then later you did: client_cmd(id,"CmdHookOnMenu")


but it Should be like:
Code:
// you register: register_clcmd("amx_hookonmenu","CmdHookOnMenu",ADMIN_MENU,"- Displays the hook on and off menu") // Later on, use: client_cmd(id,"amx_hookonmenu")

The client_cmd() function calls a Registered Client Command just like the user would when they type it in console...

You need to fix that in alot of places..
xeroblood is offline
Send a message via MSN to xeroblood
 



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 10:03.


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