Raised This Month: $ Target: $400
 0% 

Help with menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 05-15-2013 , 15:10   Help with menu
Reply With Quote #1

PHP Code:
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /menu","menu123")
}
public 
menu123(id) {
    new 
menu menu_create("\rMenu help""menu_handler");
    
menu_additem(menu"\wexemple1""1"0);
    
menu_additem(menu"\wexemple2""2"0);
    
menu_additem(menu"\wexemple3 "3", 0);
    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);

ok is it possible to make 0.Exit case to change it to 0.Quit i mean to type what i want to case 0
help if you can
__________________
Balck is offline
 


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 16:28.


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