Raised This Month: $ Target: $400
 0% 

custom menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-17-2007 , 09:59   Re: custom menu
Reply With Quote #3

PHP Code:
public Showadmin_menu(idlevelcid) {
    if (!
cmd_access(idlevelcid1))
        return 
PLUGIN_HANDLED

    show_menu
(idKeysadmin_menu"\yAdmin Menu^n^n\w1. action1^n2. action2^n3. action3^n^n0. Exit^n", -1"admin_menu")

    return 
PLUGIN_HANDLED // this fix the unknown cmd message

You need to include amxmisc.inc
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-17-2007 at 10:02.
ConnorMcLeod 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 11:08.


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