Raised This Month: $ Target: $400
 0% 

a simple question / case('X'):


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 08-07-2010 , 09:42   Re: a simple question / case('X'):
Reply With Quote #1

Thanks for the fast answer but i didnt understand you..
here is a part of the code :

Code:
    formatex(menuname, charsmax(menuname), "%L", LANG_SERVER, "JBE_MENU_LASTREQ")
    menu = menu_create(menuname, "lastrequest_select")

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT1")
    menu_additem(menu, option, "1", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT2")
    menu_additem(menu, option, "2", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT3")
    menu_additem(menu, option, "3", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT8")
    menu_additem(menu, option, "8", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT9")
    menu_additem(menu, option, "9", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT10")
    menu_additem(menu, option, "10", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT11")
    menu_additem(menu, option, "11", 0)

    formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_OPT12")
    menu_additem(menu, option, "12", 0)
an here the other part :

Code:
        case('8'):
        {
            formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_SEL8", dst)
            player_hudmessage(0, 6, 3.0, {0, 255, 0}, option)
        }
        case('9'):
        {
            formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_SEL9", dst)
            player_hudmessage(0, 6, 3.0, {0, 255, 0}, option)
        }
        case('10'):
        {
            formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_SEL10", dst)
            player_hudmessage(0, 6, 3.0, {0, 255, 0}, option)
        }
        case('11'):
        {
            formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_SEL11", dst)
            player_hudmessage(0, 6, 3.0, {0, 255, 0}, option)
        }
        case('12'):
        {
            formatex(option, charsmax(option), "%L", LANG_SERVER, "JBE_MENU_LASTREQ_SEL12", dst)
            player_hudmessage(0, 6, 3.0, {0, 255, 0}, option)
        }
__________________
xtream.eSports Weil's einfach nur Geil ist !
www.xtream-esports.com
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
Reply



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 00:17.


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