Raised This Month: $ Target: $400
 0% 

cant go to ct team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-02-2011 , 15:06   Re: cant go to ct team
Reply With Quote #3

PHP Code:
public Message_ShowMenuiMsgIdiMsgDestid 

    new 
szText[20// #IG_VIP_Team_Select 
    // #Terrorist_Select 
    // #CT_Select 
    
get_msg_arg_string(4szTextcharsmax(szText)) 

    if( 
contain(szText"Team_Select") != -
    { 
        new 
iKeys get_msg_arg_int(1
        new 
bool:bKeyChanged 
        
new szText[512], 
        
new szName[64
        
formatex(szTextcharsmax(szText), "\ySelect a team\w^n^n"

        if( 
get_pcvar_string(g_pCvarTerroNameszNamecharsmax(szName)) ) 
        { 
            
+= formatex(szText[n], charsmax(szText)-n"1. %s^n"szName
        } 
        else 
        { 
            
+= formatex(szText[n], charsmax(szText)-n"\d1. Not Available\w^n"
            
iKeys &= ~MENU_KEY_1 
            bKeyChanged 
true 
        


        if( 
get_pcvar_string(g_pCvarCtNameszNamecharsmax(szName)) ) 
        { 
            
+= formatex(szText[n], charsmax(szText)-n"2. %s^n"szName
        } 
        else 
        { 
            
+= formatex(szText[n], charsmax(szText)-n"\d2. Not Available\w^n"
            
iKeys &= ~MENU_KEY_2 
            bKeyChanged 
true 
        

====================================
      
somewhere here
       
        
if( iKeys MENU_KEY_1 
        { 
               
bKeyChanged true 
   MAKE 
NEW BOOLEAN HERE LIKE g_allowJoin[id] = true
            

        } 

        if( 
iKeys MENU_KEY_2 
        { 
            
set Boolean to false
 
and make additional check for password

__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 03:22.


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