Raised This Month: $ Target: $400
 0% 

Command in menu only for admin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 10-02-2011 , 09:12   Re: Command in menu only for admin
Reply With Quote #5

Quote:
Originally Posted by Napoleon_be View Post
Yes, just replace this with yours:
PHP Code:

    menu_additem
(MyMenu,"Zmien serwer""1"id)
    
menu_additem(MyMenu,"Sklep DR""2"id)
    
menu_additem(MyMenu,"Wylacz widocznosc CT""3"id)
    
menu_additem(MyMenu,"Punkty""4"id)
    
menu_additem(MyMenu,"Menu Admina""5"ADMIN_BAN)
    
menu_additem(MyMenu,"Wylacz/wlacz RS""6"id
Use for Number one of the menu, case 0 if you're going to do it like that.
Check the callbacks functions instead.
Erox902 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 19:35.


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