Raised This Month: $51 Target: $400
 12% 

[Ayuda] Con Menu


  
 
 
Thread Tools Display Modes
wEEk
Senior Member
Join Date: Sep 2012
Old 02-27-2013 , 09:13   Re: [Ayuda] Con Menu
#11

Gracias a todos. Ahora lo voy a probar y optimizar como lo dijieron

Edito: No conteste rapido por que no encuentro un Proxy para conectarme aca

Last edited by wEEk; 02-27-2013 at 09:15.
wEEk is offline
GokuX
BANNED
Join Date: Jun 2011
Location: Quilpué , Chile
Old 02-27-2013 , 11:48   Re: [Ayuda] Con Menu
#12

Jajajaja @wEEk espero te sirva
GokuX is offline
3MCy Daimont
Senior Member
Join Date: Oct 2012
Old 02-28-2013 , 20:35   Re: [Ayuda] Con Menu
#13

PHP Code:
static class[32]

if ( 
get_user_team id ) == CS_TEAM_CT )  
{           
               if (
g_monster[id])
               
formatex(class, charsmax(class), "Monstruo")
            else if (
g_tirador[id])
               
formatex(class, charsmax(class), "Francotirador")
            else if (
g_soldado[id])
               
formatex(class, charsmax(class), "Soldado")  
}

// el hud
set_hudmessage(255255255, -1.00.4006.06.00.10.21//los primeros 3 parametros son para el color, El octavono es donde se define el tiempo que durara el HUD (el segundo que dise 6.0) 
show_hudmessage(id"Ahora sos un: %s", class) //El mensaje 
e.e
__________________
Clases Humanas v2.0 Con/Sin Restriccion de Niveles
El premio de una buena accion, es haberla hecho...
Te Amo GokuX <3
I Love those believed.

Last edited by 3MCy Daimont; 02-28-2013 at 20:39.
3MCy Daimont is offline
StrikerV2
Senior Member
Join Date: Nov 2012
Location: Chile , O Yes!
Old 02-28-2013 , 21:14   Re: [Ayuda] Con Menu
#14

PHP Code:
public mostrar_menu(idMenuitem

    if (
item == MENU_EXIT
    { 
        
menu_destroy(Menu
        return 
PLUGIN_HANDLED 
    

     
    
// Creamos Variables, esto se puede hacer en diferente lineas para mayor claridad o simplemente: new iData[6], iAccess, iCallback, iName[64] 
    
new iData[6]; 
    new 
iAccess
    new 
iCallback
    new 
iName[64]; 
    
menu_item_getinfo(MenuitemiAccessiData5iName63iCallback
     
    
// Aqui vamos a Registrar todo lo que queremos qe haga CADA OPCION. 
    
switch (str_to_num(iData)) 
    { 
------------------>>>>

PHP Code:
public mostrar_menu(idMenuitem)  
{      
    if (
item == MENU_EXIT) {            
        
menu_destroy(Menu)      
        return 
PLUGIN_HANDLED          
    
}     
    switch (
item){   
        case 
0
        { 
        } 
        case 
2
        { 
        } 
        case 
3
        { 
        }  
    }
    return 
PLUGIN_HANDLED;

__________________
Mi firma era tan sexy .-.

Last edited by StrikerV2; 02-28-2013 at 21:18.
StrikerV2 is offline
Send a message via MSN to StrikerV2
 



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:40.


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